Skip to content

Update Sonatype environment variable names #416

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ env:
global:
# PGP_PASSPHRASE
- secure: "BYC1kEnHjNrINrHYWPGEuTTJ2V340/0ByzqeihLecjoZ75yrjWdsh6MI1JEUWgv5kb+58vLzib21JfnjsPK6Yb2bSXuCFCsEtJNh6RJKgxkWlCOzfTSh5I2wl7PCjRClRL6gseX2uTSvFjL4Z//pmxwxeXlLp7voQe4QAUq1+sE="
# SONA_USER
# SONATYPE_USERNAME
- secure: "OpBwPc1GNvauageYOH3RscAa7wpZxgpmqDz15aigIKLNWzAhAtVUx0MleZ8rQeoqml6nrAvlnzuVHjKL2lVcjMPpjUis7bcQ5UAGK7tZK8x+qZNQxXmpXu8+pENwQA2yFaqt/xy7K5jFOrHJHTRxcPnyVG1yKakPWz53PPYUwbc="
# SONA_PASS
# SONATYPE_PASSWORD
- secure: "Xw7rI/qlML1nD2e2XwlakkhKAWNGZKqqE+Q3ntTvFpfHryl7KLCvVzJ4LIavnL6kGJaWOgy9vlSoEWn5g9nqHSfE31C/k5pY5nTMAKiwiJzfAS+r0asKXW2gmKhwtcTBkqyLVOZLCJSPVlFRQyfBJHY+Fs0L3KWcnMQgtBlyDhU="
matrix:
# The empty SCALAJS_VERSION will only compile for the JVM
Expand Down
4 changes: 2 additions & 2 deletions admin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ env:
global:
# PGP_PASSPHRASE
- secure: "XXXXXX"
# SONA_USER
# SONATYPE_USERNAME
- secure: "XXXXXX"
# SONA_PASS
# SONATYPE_PASSWORD
- secure: "XXXXXX"

script: admin/build.sh
Expand Down
8 changes: 4 additions & 4 deletions admin/encryptEnvVars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#
set -e

read -s -p 'SONA_USER: ' SONA_USER
travis encrypt SONA_USER="$SONA_USER"
read -s -p 'SONA_PASS: ' SONA_PASS
travis encrypt SONA_PASS="$SONA_PASS"
read -s -p 'SONATYPE_USERNAME: ' SONATYPE_USERNAME
travis encrypt SONATYPE_USERNAME="$SONATYPE_USERNAME"
read -s -p 'SONATYPE_PASSWORD: ' SONATYPE_PASSWORD
travis encrypt SONATYPE_PASSWORD="$SONATYPE_PASSWORD"
2 changes: 1 addition & 1 deletion admin/publish-settings.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ inThisBuild(Seq(
pgpPassphrase := Some(env("PGP_PASSPHRASE").toArray),
pgpPublicRing := file("admin/pubring.asc"),
pgpSecretRing := file("admin/secring.asc"),
credentials += Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", env("SONA_USER"), env("SONA_PASS"))
credentials += Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", env("SONATYPE_USERNAME"), env("SONATYPE_PASSWORD"))
))