Skip to content

Commit e79eafb

Browse files
[chore] Release 9.11.0 Take 2 (#1246)
* fix: skip integration tests during release publish * chore: publish artifacts to Maven Central before creating release tag * chore: address review feedback on release test skipping
1 parent d053d25 commit e79eafb

2 files changed

Lines changed: 14 additions & 9 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,15 @@ jobs:
106106
id: preflight
107107
run: ./.github/scripts/publish_preflight_check.sh
108108

109+
- name: Publish to Maven Central
110+
run: ./.github/scripts/publish_artifacts.sh
111+
env:
112+
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
113+
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
114+
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
115+
CENTRAL_USERNAME: ${{ secrets.CENTRAL_USERNAME }}
116+
CENTRAL_TOKEN: ${{ secrets.CENTRAL_TOKEN }}
117+
109118
# See: https://cli.github.com/manual/gh_release_create
110119
- name: Create release tag
111120
env:
@@ -116,12 +125,3 @@ jobs:
116125
gh release create "$RELEASE_VER" \
117126
--title "Firebase Admin Java SDK $RELEASE_VER" \
118127
--notes "$RELEASE_BODY"
119-
120-
- name: Publish to Maven Central
121-
run: ./.github/scripts/publish_artifacts.sh
122-
env:
123-
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
124-
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
125-
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
126-
CENTRAL_USERNAME: ${{ secrets.CENTRAL_USERNAME }}
127-
CENTRAL_TOKEN: ${{ secrets.CENTRAL_TOKEN }}

‎pom.xml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@
5858
<properties>
5959
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
6060
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
61+
<skipTests>false</skipTests>
6162
<skipUTs>${skipTests}</skipUTs>
63+
<skipITs>${skipTests}</skipITs>
6264
<netty.version>4.2.18.Final</netty.version>
6365
</properties>
6466

@@ -146,6 +148,9 @@
146148
</profile>
147149
<profile>
148150
<id>release</id>
151+
<properties>
152+
<skipITs>true</skipITs>
153+
</properties>
149154
<build>
150155
<plugins>
151156
<plugin>

0 commit comments

Comments
 (0)