Skip to content

Commit a3aa6e0

Browse files
authored
Merge pull request #3097 from allanrenucci/drone
Fix publishing
2 parents 991f39b + 7c1fd22 commit a3aa6e0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

project/scripts/genDocs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ echo "Working directory: $PWD"
1818

1919
# this command will generate docs in $PWD/docs/_site
2020
SBT="$(cd "$(dirname "${BASH_SOURCE[0]}")" >& /dev/null && pwd)/sbt"
21-
eval "$SBT" "genDocs"
21+
"$SBT" "genDocs"
2222

2323
# make sure that the previous command actually succeeded
2424
if [ ! -d "$PWD/docs/_site" ]; then

project/scripts/sbtPublish

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ if [ -z "$RELEASE_CMD" ]; then
2323
exit 1
2424
fi
2525

26-
CMD=" ;set credentials in ThisBuild := Seq(Credentials(\"Sonatype Nexus Repository Manager\", \"oss.sonatype.org\", \"$2\", \"$3\"))"
27-
CMD="$CMD ;set pgpPassphrase := Some(\"\"\"$4\"\"\".toCharArray)"
26+
CMD=" ;set credentials in ThisBuild := Seq(Credentials(\"Sonatype Nexus Repository Manager\", \"oss.sonatype.org\", \"$SONATYPE_USER\", \"$SONATYPE_PW\"))"
27+
CMD="$CMD ;set pgpPassphrase := Some(\"\"\"$PGP_PW\"\"\".toCharArray)"
2828
CMD="$CMD ;set pgpSecretRing := file(\"/keys/secring.asc\")"
2929
CMD="$CMD ;set pgpPublicRing := file(\"/keys/pubring.asc\")"
3030
CMD="$CMD $RELEASE_CMD"
3131

3232
# run sbt with the supplied arg
3333
SBT="$(cd "$(dirname "${BASH_SOURCE[0]}")" >& /dev/null && pwd)/sbt"
34-
eval "$SBT" "$CMD"
34+
"$SBT" "$CMD"

0 commit comments

Comments
 (0)