Skip to content

Commit ecfa104

Browse files
committed
1
1 parent 0b3ef58 commit ecfa104

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/re-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ jobs:
3030

3131
- name: Move one commit back
3232
run:
33-
git reset --hard HEAD~1
33+
git fetch --prune --unshallow || true
34+
git checkout HEAD^
3435

3536
- name: Set up Java
3637
uses: actions/setup-java@v4

0 commit comments

Comments
 (0)