Skip to content

Commit a1cbb2d

Browse files
committed
Fetch tags
1 parent de99fa5 commit a1cbb2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ jobs:
3535

3636
- name: Push version bump and tag
3737
run: |
38-
git fetch --tags
3938
git config user.name "github-actions"
4039
git config user.email "[email protected]"
4140
npm version ${{ github.event.inputs.bump }} --no-git-tag-version
@@ -49,6 +48,7 @@ jobs:
4948
- name: Get merged PR titles and format release notes
5049
id: changelog
5150
run: |
51+
git fetch --tags
5252
prev_tag=$(git describe --tags --abbrev=0 HEAD^)
5353
new_tag=$(git describe --tags --abbrev=0)
5454

0 commit comments

Comments
 (0)