diff --git a/README.md b/README.md index 3ffbcc3b..3ce332ff 100644 --- a/README.md +++ b/README.md @@ -114,6 +114,7 @@ jobs: server-username: MAVEN_USERNAME # env variable for username in deploy server-password: MAVEN_CENTRAL_TOKEN # env variable for token in deploy gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import + gpg-passphrase: MAVEN_GPG_PASSPHRASE - name: Publish to Apache Maven Central run: mvn deploy diff --git a/__tests__/auth.test.ts b/__tests__/auth.test.ts index 448df00a..09745a6b 100644 --- a/__tests__/auth.test.ts +++ b/__tests__/auth.test.ts @@ -167,7 +167,7 @@ describe('auth tests', () => { \${env.${gpgPassphrase}} - + `); }); diff --git a/dist/index.js b/dist/index.js index b3fd50c0..22077061 100644 Binary files a/dist/index.js and b/dist/index.js differ diff --git a/src/auth.ts b/src/auth.ts index 53e058f8..b343f614 100644 --- a/src/auth.ts +++ b/src/auth.ts @@ -90,7 +90,7 @@ export function generate( \${env.${escapeXML(gpgPassphrase)}} - + `; }