Skip to content

Commit 864e392

Browse files
committed
ci: create release tag after OIDC publish
1 parent cab7a65 commit 864e392

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

scripts/publish-npm-oidc.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ fi
1212
echo "Publishing ${PACKAGE_NAME}@${PACKAGE_VERSION} with npm trusted publishing."
1313
npm publish --access public --provenance
1414

15-
# changesets/action watches stdout for this marker on root packages, then creates
16-
# the corresponding git tag and GitHub Release.
15+
git tag "v${PACKAGE_VERSION}"
16+
17+
# changesets/action watches stdout for this marker on root packages, then pushes
18+
# the corresponding git tag and creates the GitHub Release.
1719
echo "New tag: v${PACKAGE_VERSION}"

0 commit comments

Comments
 (0)