Skip to content

Commit 200d1f9

Browse files
authored
[chore] Release 6.13.0 take 2 (#414)
* Upgated the gpg keys * Added temp verify script * Disabled tty for gpg import * Removing temp verification script * Updated publish commands
1 parent a4a5315 commit 200d1f9

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/resources/firebase.asc.gpg

5 Bytes
Binary file not shown.

.github/scripts/publish_artifacts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ set -u
2020
gpg --quiet --batch --yes --decrypt --passphrase="${GPG_PRIVATE_KEY}" \
2121
--output firebase.asc .github/resources/firebase.asc.gpg
2222

23-
gpg --import firebase.asc
23+
gpg --import --no-tty --batch --yes firebase.asc
2424

2525
# Does the following:
2626
# 1. Compiles the source (compile phase)

.github/workflows/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,14 @@ jobs:
9191
id: preflight
9292
run: ./.github/scripts/publish_preflight_check.sh
9393

94+
- name: Publish to Maven Central
95+
run: ./.github/scripts/publish_artifacts.sh
96+
env:
97+
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
98+
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
99+
NEXUS_OSSRH_USERNAME: ${{ secrets.NEXUS_OSSRH_USERNAME }}
100+
NEXUS_OSSRH_PASSWORD: ${{ secrets.NEXUS_OSSRH_PASSWORD }}
101+
94102
# We pull this action from a custom fork of a contributor until
95103
# https://github.com/actions/create-release/pull/32 is merged. Also note that v1 of
96104
# this action does not support the "body" parameter.
@@ -105,14 +113,6 @@ jobs:
105113
draft: false
106114
prerelease: false
107115

108-
- name: Publish to Maven Central
109-
run: ./.github/scripts/publish_artifacts.sh
110-
env:
111-
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
112-
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
113-
NEXUS_OSSRH_USERNAME: ${{ secrets.NEXUS_OSSRH_USERNAME }}
114-
NEXUS_OSSRH_PASSWORD: ${{ secrets.NEXUS_OSSRH_PASSWORD }}
115-
116116
# Post to Twitter if explicitly opted-in by adding the label 'release:tweet'.
117117
- name: Post to Twitter
118118
if: success() &&

0 commit comments

Comments
 (0)