Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/on-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: On Tag
on:
push:
tags: 'v*'
branches:
- fix/*

jobs:
update-website:
Expand All @@ -17,9 +19,14 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
token: ${{ secrets.GITHUB_TOKEN }}
- id: version
run: echo "version=$(echo ${{ github.ref }} | sed 's/refs\/tags\/v//')" >> $GITHUB_OUTPUT
- run: pnpm version ${{ steps.version.outputs.version }}
# run: echo "version=$(echo ${{ github.ref }} | sed 's/refs\/tags\/v//')" >> $GITHUB_OUTPUT
run: echo "version="5.4.0"" >> $GITHUB_OUTPUT
- run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
pnpm version ${{ steps.version.outputs.version }}
- uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down