Skip to content

Commit 88e589e

Browse files
committed
Update GitHub Actions workflow for tagging and release process
This commit modifies the GitHub Actions workflow to enhance the tagging and release process. The workflow name has been updated for clarity, and the tagging command now includes a fetch for existing tags before forcing the tag update. This ensures that the latest tags are considered during the release process.
1 parent 9ae2858 commit 88e589e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ on:
22
push:
33
branches:
44
- main
5-
name: Test, lint, and release GitHub Action
5+
name: Test and release GitHub Action
66

77
jobs:
88

@@ -68,7 +68,7 @@ jobs:
6868
run: |
6969
git config user.name "github-actions[bot]"
7070
git config user.email "github-actions[bot]@users.noreply.github.com"
71-
git push origin ${{ steps.tag_version.outputs.new_tag }}
71+
git fetch --tags
7272
git tag -f v1.0 ${{ steps.tag_version.outputs.new_tag }}
7373
git push origin v1.0 --force
7474

0 commit comments

Comments
 (0)