Skip to content
Browse files

Set Sonatype `credentials in Global`

Apparently the scoping of `credentials` has been changed in the
meantime by an sbt update. Simply setting `credentials` without
`in Global` is no longer sufficient.

I also added some debug output to diagnose such problems more easily.
  • Loading branch information
szeiger committed Mar 6, 2018
1 parent 46d3491 commit 002e4f1c072bc1472c1b84e2014fa90f18ae9001
Showing with 4 additions and 0 deletions.
  1. +4 −0 admin/
  2. BIN secrets.tar.enc
@@ -23,8 +23,12 @@ if [[ "$TRAVIS_TAG" =~ ^v[0-9]+\.[0-9]+(\.[0-9]+)?(-[A-Za-z0-9-]+)? ]]; then
extraTarget="+publishSigned +makeSite"
cp admin/publish-settings.sbt ./
echo "Contents of secrets.tar:"
tar tvf secrets.tar
tar xf secrets.tar
chmod 400 admin/deploykey.pem
echo "sbt build files:"
ls -l *.sbt project/*.scala

sbt -jvm-opts jvmopts.travis -Dslick.testkit-config=test-dbs/testkit.travis.conf "$publishVersion" +testAll $extraTarget
BIN +0 Bytes (100%) secrets.tar.enc
Binary file not shown.

0 comments on commit 002e4f1

Please sign in to comment.
You can’t perform that action at this time.