Skip to content

Commit 56c0cc1

Browse files
committed
ci: pull latest changes and tags before bumping
1 parent 77ab680 commit 56c0cc1

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/bumpversion.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ jobs:
2323
python --version
2424
python --version
2525
python -m pip install -U commitizen
26-
- name: Create bump
26+
- name: Configure repo
2727
run: |
2828
git config --local user.email "action@github.com"
2929
git config --local user.name "GitHub Action"
30-
git config --local push.followTags true
30+
git pull origin master --tags
31+
- name: Create bump
32+
run: |
3133
cz bump --yes
3234
git tag
3335
- name: Push changes

0 commit comments

Comments
 (0)