Skip to content

Commit d9d5670

Browse files
authored
Merge pull request #2441 from dotty-staging/topic/make-pgp-trippled
Make PGP pass input tripple quoted
2 parents fc5994d + a309229 commit d9d5670

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/scripts/sbtPublish

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if [ -z "$SONATYPE_USER" -o -z "$SONATYPE_PW" -o -z "$PGP_PW" ]; then
2222
fi
2323

2424
CMD=' ;set credentials += Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", "'"$SONATYPE_USER"'", "'"$SONATYPE_PW"'")'
25-
CMD="$CMD ;set pgpPassphrase := Some(\"$PGP_PW\".toCharArray)"
25+
CMD="$CMD ;set pgpPassphrase := Some(\"\"\"$PGP_PW\"\"\".toCharArray)"
2626
CMD="$CMD ;set pgpSecretRing := file(\"/keys/secring.asc\")"
2727
CMD="$CMD ;set pgpPublicRing := file(\"/keys/pubring.asc\")"
2828
CMD="$CMD ;dotty-bootstrapped/publishSigned ;sonatypeRelease"

0 commit comments

Comments
 (0)