Skip to content

Commit

Permalink
Checkout release tag
Browse files Browse the repository at this point in the history
  • Loading branch information
losipiuk authored and wendigo committed Sep 25, 2024
1 parent c05ec2b commit 3043b14
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,12 @@ jobs:
run: |
./mvnw -B release:perform -Poss-release,oss-stage
- name: Display git status and history
- name: Display git status and history, checkout release tag
run: |
git status
git log --oneline -n 2
# Checkout version so that JReleaser runs from a tagged commit
git checkout "${VERSION}"
- name: List locally staged artifacts
run: |
Expand All @@ -97,6 +99,7 @@ jobs:
if: ${{ inputs.push }}
run: |
git status
git describe
git push origin master
- name: Unlock branch after a release
Expand Down

0 comments on commit 3043b14

Please sign in to comment.