Skip to content

Commit 05e897c

Browse files
committed
fix: publish to repo
1 parent 27e238f commit 05e897c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/bump_and_build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,9 @@ jobs:
146146
git config user.name "github-actions[bot]"
147147
git config user.email "github-actions[bot]@users.noreply.github.com"
148148
git remote add origin "https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git"
149-
git fetch
150-
git checkout -b "${{ github.ref_name }}"
149+
git fetch origin
150+
git checkout -b "${{ github.ref_name }}" "origin/${{ github.ref_name }}"
151+
git pull origin "${{ github.ref_name }}"
151152
git add .
152153
git commit -m "chore(release): ${{ needs.bump-version.outputs.new_version }}"
153154
- name: Push changes and tag

0 commit comments

Comments
 (0)