Skip to content

Commit

Permalink
Fix condition for snapshot releases in maven CI action (#999)
Browse files Browse the repository at this point in the history
  • Loading branch information
fkleedorfer authored Nov 14, 2024
1 parent 253a482 commit 63ee96b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
# Make github release
- name: Release
uses: softprops/action-gh-release@v2
if: ${{ github.ref_name == 'main' && github.event.pull_request.merged == true}} # only make snapshot release if it is a push to main
if: ${{ github.event.pull_request.base.ref == 'main' && github.event.action == 'closed' && github.event.pull_request.merged == true}} # only make snapshot release if it is a push to main
with:
name: Latest snapshot release
tag_name: snapshot
Expand Down

0 comments on commit 63ee96b

Please sign in to comment.