workflows: fix changeset release script naming

This commit is contained in:
Patrik Oldsberg
2020-11-03 15:22:49 +01:00
parent 08b8321bee
commit 57fd2cb7b2
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -17,6 +17,6 @@ jobs:
uses: changesets/action@master
with:
# Calls out to `changeset version`, but also runs prettier
version: yarn version
version: yarn release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+2 -3
View File
@@ -24,12 +24,11 @@
"docker-build": "yarn tsc && yarn workspace example-backend build-image",
"create-plugin": "backstage-cli create-plugin --scope backstage --no-private",
"remove-plugin": "backstage-cli remove-plugin",
"release": "if [ \"$(git symbolic-ref --short HEAD)\" = master ]; then echo \"don't try to release master\"; exit 1; else lerna version --no-push --force-publish; fi",
"release": "changeset version && yarn prettier --write '{packages,plugins}/*/{package.json,CHANGELOG.md}'",
"prettier:check": "prettier --check .",
"lerna": "lerna",
"storybook": "yarn workspace storybook start",
"build-storybook": "yarn workspace storybook build-storybook",
"version": "changeset version && yarn prettier --write '{packages,plugins}/*/{package.json,CHANGELOG.md}'"
"build-storybook": "yarn workspace storybook build-storybook"
},
"workspaces": {
"packages": [