We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bc19b0 commit 9ebc57eCopy full SHA for 9ebc57e
.github/workflows/ci.yml
@@ -29,6 +29,7 @@ jobs:
29
30
permissions:
31
id-token: write
32
+ contents: write
33
34
steps:
35
- uses: actions/checkout@v4
@@ -38,5 +39,12 @@ jobs:
38
39
node-version: "24"
40
cache: pnpm
41
- run: pnpm install
42
+ - name: Create and push git tag
43
+ run: |
44
+ VERSION=$(node -p "require('./package.json').version")
45
+ git config user.name "github-actions[bot]"
46
+ git config user.email "github-actions[bot]@users.noreply.github.com"
47
+ git tag -a "v${VERSION}" -m "Release v${VERSION}"
48
+ git push origin "v${VERSION}"
49
- name: Publish package
50
run: pnpm publish -r
0 commit comments