Skip to content

Commit cfd284f

Browse files
committed
chore: update release scripts
1 parent 29a9501 commit cfd284f

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"lint": "eslint --ext .ts --ext .vue .",
2222
"prepack": "yarn build",
2323
"release": "yarn test && standard-version && git push --follow-tags && npm publish",
24+
"release:bump-edge": "jiti ./scripts/bump-edge",
2425
"test": "yarn lint"
2526
},
2627
"dependencies": {

scripts/release-edge.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,8 @@
44

55
set -xe
66

7-
# Restore all git changes
8-
git restore -s@ -SW -- .
9-
107
# Bump versions to edge
11-
npx jiti ./scripts/bump-edge
12-
13-
# Resolve yarn
14-
YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install
8+
yarn release:bump-edge
159

1610
# Update token
1711
if [[ ! -z ${NODE_AUTH_TOKEN} ]] ; then

0 commit comments

Comments
 (0)