Skip to content

Commit fb9ea17

Browse files
committed
Update GitHub Actions workflow to force tag v1.0 update
This commit modifies the GitHub Actions workflow to include a step that updates the v1.0 tag. It configures the Git user for the action and forces the push of the updated tag to the origin. This ensures that the tag reflects the latest commit associated with the release.
1 parent d1f8af7 commit fb9ea17

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/workflow.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,11 @@ jobs:
5858
if: github.ref_type == 'tag'
5959
with:
6060
generate_release_notes: true
61+
62+
- name: Update v1.0 tag
63+
if: github.ref_type == 'tag'
64+
run: |
65+
git config user.name "github-actions[bot]"
66+
git config user.email "github-actions[bot]@users.noreply.github.com"
67+
git tag -f v1.0 ${{ github.ref_name }}
68+
git push origin v1.0 --force

0 commit comments

Comments
 (0)