Skip to content

Commit

Permalink
Merge branch 'main' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
anidotnet committed Jan 4, 2024
2 parents 7f4c139 + d6db082 commit 539f49d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
server-password: MAVEN_PASSWORD

- name: Prepare PGP Keys
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/release'
run: |
chmod +x ./.ci/prepare-keys.sh
./.ci/prepare-keys.sh
Expand All @@ -46,7 +45,7 @@ jobs:
PGP_KEY_PASSWORD: ${{ secrets.PGP_KEY_PASSWORD }}

- name: Deploy Release
if: github.ref == 'refs/heads/release' && !contains(github.event.head_commit.message, '[ci release]')
if: !contains(github.event.head_commit.message, '[ci release]')
run: mvn -B -ff -ntp release:clean release:prepare release:perform -DskipTests
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USER }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
server-password: MAVEN_PASSWORD

- name: Prepare PGP Keys
if: github.ref == 'refs/heads/develop'
run: |
chmod +x ./.ci/prepare-keys.sh
./.ci/prepare-keys.sh
Expand All @@ -46,7 +45,6 @@ jobs:
PGP_KEY_PASSWORD: ${{ secrets.PGP_KEY_PASSWORD }}

- name: Deploy Snapshot
if: github.ref == 'refs/heads/develop'
run: mvn -B -ff -ntp deploy -DskipTests
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USER }}
Expand Down

0 comments on commit 539f49d

Please sign in to comment.