Skip to content

Commit ea643d4

Browse files
committed
chore: fix release workflow
1 parent a603dbe commit ea643d4

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.bumpversion.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ replace = "{new_version}"
77
regex = false
88
ignore_missing_version = false
99
ignore_missing_files = false
10-
tag = true
10+
tag = false
1111
sign_tags = false
1212
tag_name = "v{new_version}"
1313
tag_message = "Bump version: {current_version} → {new_version}"

.github/workflows/draft-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,9 @@ jobs:
172172
173173
- name: Push changes to the repo
174174
run: |
175+
# Create a new tag for the release
176+
git tag ${{ steps.bump_version.outputs.version }}
177+
175178
# Set a new remote URL using HTTPS with the github token
176179
git remote set-url origin https://x-access-token:${{ github.token }}@github.com/${{ github.repository }}.git
177180

0 commit comments

Comments
 (0)