Skip to content

Commit ab4f47e

Browse files
author
JeanMarc van Leerdam
committed
Align local env variable names with the Github Actions names
1 parent 1873876 commit ab4f47e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
```

build.sbt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
)

0 commit comments

Comments
 (0)