Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 3 additions & 1 deletion .github/workflows/deploy-staging-and-prepare-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
branches:
# Matches release branches
- "[0-9]+.[0-9]+"
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}

Expand Down Expand Up @@ -32,12 +33,13 @@ jobs:
)
echo "GITHUB_TOKEN=$GITHUB_TOKEN" >> $GITHUB_ENV
- name: Publishing version
uses: changesets/action@d89c1de63c7f28ac47ec85ed395f5f1d045d4697 # v1.4.4
uses: changesets/action@e0145edc7d9d8679003495b11f87bd8ef63c0cba # v1.5.3
id: changesets
with:
title: "Prepare release ${{ github.ref_name }}"
commit: "Release ${{ github.ref_name }}"
publish: "npm run release"
createGithubReleases: true
env:
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"lint:prettier:check": "prettier --ignore-unknown --check .",
"prepare": "is-ci || husky install",
"preview": "vite preview",
"release": "echo $npm_package_version | xargs git tag && git push --follow-tags",
"release": "changeset tag && git push --follow-tags",
"release:cleanup": "./scripts/release-cleanup.sh",
"serve:lhci": "cross-env NODE_ENV=production npm run server",
"prestart": "npm run generate",
Expand Down
Loading