Skip to content

Commit 06c5e23

Browse files
aksOpsclaude
andcommitted
ci: re-enable SemVer tag-push trigger for releases
NPM_TOKEN is configured. Tagging vX.Y.Z now fires the full build → npm publish → GitHub Packages mirror → GitHub Release pipeline automatically. Manual workflow_dispatch is retained for re-publishing. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 22daa2a commit 06c5e23

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
name: Release
22

3-
# Manual-only for now. Re-enable the tag-push trigger once NPM_TOKEN is set
4-
# and you want SemVer tags (v1.2.3) to fire a dual-publish automatically.
3+
# Fires on a SemVer tag push (`vX.Y.Z`). Builds once, then publishes to
4+
# npm + GitHub Packages and creates a GitHub Release. Use `pnpm version`
5+
# locally to bump and tag in one go, then `git push --follow-tags`.
6+
# Manual `workflow_dispatch` is kept for re-publishing an existing tag.
57
on:
6-
# push:
7-
# tags:
8-
# - "v*.*.*"
8+
push:
9+
tags:
10+
- "v*.*.*"
911
workflow_dispatch:
1012
inputs:
1113
tag:

0 commit comments

Comments
 (0)