Skip to content

Commit 3cf5099

Browse files
committed
Update workflow: Use 'latest' tag for all releases
- Replace timestamp tags with single 'latest' tag - Tag is force-updated on each push - Simplifies release tracking to always point to latest push
1 parent faa9ea2 commit 3cf5099

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,10 @@ jobs:
3333

3434
- name: Create tag
3535
run: |
36-
TAG="release-$(date +%s)"
3736
git config user.name "github-actions"
3837
git config user.email "github-actions@github.com"
39-
git tag $TAG
40-
git push origin $TAG
38+
git tag -f latest
39+
git push origin -f --tags
4140
env:
4241
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4342

0 commit comments

Comments
 (0)