From c948002445a768a062459af8d56150f486b0266d Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Wed, 11 Aug 2021 09:53:01 +0800 Subject: [PATCH] build: no longer push to master --- build/release.sh | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/build/release.sh b/build/release.sh index 75d0b041..d0370465 100644 --- a/build/release.sh +++ b/build/release.sh @@ -1,6 +1,3 @@ -git checkout master -git merge dev - #!/usr/bin/env sh set -e echo "Enter release version: " @@ -19,10 +16,10 @@ then fi # commit - npm version $VERSION --message "build: release $VERSION" + npm version $VERSION --message "release: $VERSION" # publish - git push origin master + git push origin dev git push origin refs/tags/v$VERSION if [[ $VERSION =~ [beta] ]] @@ -32,11 +29,6 @@ then npm publish fi - # sync dev - git checkout dev - git rebase master - git push origin dev - # changelog vant-cli changelog fi