Skip to content

Commit 2db9a40

Browse files
author
ranchodeluxe
committed
checkout
1 parent f1476fe commit 2db9a40

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/pre-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ jobs:
144144
TAG="v${{ env.new_version }}"
145145
git config --global user.name "${{ github.actor }}"
146146
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
147+
git fetch origin
148+
git checkout ${{ github.head_ref }}
147149
git add -A
148150
git commit -m "release version to ${{ env.new_version }}"
149151
git tag "v${{ env.new_version }}"

0 commit comments

Comments
 (0)