Skip to content

Commit f33e7ce

Browse files
authored
Merge pull request #20 from PostHog/tags
create tag locally
2 parents 5a743dc + 8b68dca commit f33e7ce

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build-release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,12 @@ jobs:
9797
run: |
9898
git config user.name "github-actions[bot]"
9999
git config user.email "github-actions[bot]@users.noreply.github.com"
100-
git tag -f latest ${{ steps.version.outputs.tag }}
100+
# Create the version tag locally first
101+
git tag ${{ steps.version.outputs.tag }}
102+
# Point latest to the current commit (same as the version tag)
103+
git tag -f latest
104+
# Push both tags
105+
git push origin ${{ steps.version.outputs.tag }}
101106
git push -f origin latest
102107
103108
- name: Build Summary

0 commit comments

Comments
 (0)