Skip to content

Commit

Permalink
Make version step conditional on the availability of a tag name in th…
Browse files Browse the repository at this point in the history
…e event
  • Loading branch information
tishun committed Jun 11, 2024
1 parent 9f1ca1c commit b1a1197
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/version-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
mvn --no-transfer-progress \
--batch-mode \
versions:set -DnewVersion=${{ github.event.release.tag_name }}
if: ${{ github.event.release.tag_name }}

- name: Install GPG key
run: |
Expand Down

0 comments on commit b1a1197

Please sign in to comment.