Skip to content

Commit 0b3ef58

Browse files
committed
Fix re-release workflow
1 parent 6fefb5f commit 0b3ef58

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/re-release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ jobs:
2626
- name: Checkout Code
2727
uses: actions/checkout@v4
2828
with:
29-
ref: ${{ inputs.version_tag }}~1
29+
ref: ${{ inputs.version_tag }}
30+
31+
- name: Move one commit back
32+
run:
33+
git reset --hard HEAD~1
3034

3135
- name: Set up Java
3236
uses: actions/setup-java@v4

0 commit comments

Comments
 (0)