File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -107,9 +107,9 @@ To release a new version, make sure you have:
107107 * We use ` sbt-pgp ` plugin to sign, which relies on the ` gpg ` command line tool
108108* create a ` .env ` file in the project root with the following variables:
109109 ```
110- PGP_KEYID =<id of the signing key>
110+ PGP_SECRET =<id of the signing key>
111111 PGP_PASSPHRASE=<your PGP passphrase>
112- SONATYPE_USER =<user id or token id>
112+ SONATYPE_USERNAME =<user id or token id>
113113 SONATYPE_PASSWORD=<password or token>
114114
115115 ```
Original file line number Diff line number Diff line change @@ -24,25 +24,25 @@ lazy val commonSettings = Seq(
2424 Credentials (
2525 " GnuPG Key ID" ,
2626 " gpg" ,
27- System .getenv(" PGP_KEYID " ), // key identifier
27+ System .getenv(" PGP_SECRET " ), // key identifier
2828 " ignored" // this field is ignored; passwords are supplied by pinentry
2929 ),
3030 Credentials (
3131 " Sonatype Nexus Repository Manager" ,
3232 " oss.sonatype.org" ,
33- System .getenv(" SONATYPE_USER " ),
33+ System .getenv(" SONATYPE_USERNAME " ),
3434 System .getenv(" SONATYPE_PASSWORD" ) // Use environment variable for security
3535 ),
3636 Credentials (
3737 " Sonatype Nexus Repository Manager" ,
3838 " central.sonatype.com" ,
39- System .getenv(" SONATYPE_USER " ),
39+ System .getenv(" SONATYPE_USERNAME " ),
4040 System .getenv(" SONATYPE_PASSWORD" ) // Use environment variable for security
4141 ),
4242 Credentials (
4343 " central-snapshots" ,
4444 " central.sonatype.com" ,
45- System .getenv(" SONATYPE_USER " ),
45+ System .getenv(" SONATYPE_USERNAME " ),
4646 System .getenv(" SONATYPE_PASSWORD" ) // Use environment variable for security
4747 )
4848 )
You can’t perform that action at this time.
0 commit comments