Skip to content

Commit 634ba94

Browse files
authored
chore: change changesets config (#236)
1 parent a3888b3 commit 634ba94

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/Release.yml

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
id: changesets
2929
uses: changesets/action@v1
3030
with:
31+
# this expects you to have a npm script called version that runs some logic and then calls `changeset version`.
32+
version: yarn version
3133
# This expects you to have a script called release which does a build for your packages and calls changeset publish
3234
publish: yarn release
3335
commit: "chore: release eslint-plugin-svelte"

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"ts": "node -r esbuild-register",
5252
"typecov": "type-coverage",
5353
"update": "yarn ts ./tools/update.ts && yarn format-for-gen-file",
54-
"version": "env-cmd -e version yarn update && git add ."
54+
"version": "env-cmd -e version yarn update && changeset version"
5555
},
5656
"peerDependencies": {
5757
"eslint": "^7.0.0 || ^8.0.0-0",

0 commit comments

Comments
 (0)