Skip to content

Commit 1277eeb

Browse files
committed
chore: skip auto bumping
1 parent 480ce95 commit 1277eeb

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

bin/release

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,13 @@ FRAMEWORKS_PATH="$APP_PATH/Contents/Frameworks"
77
INFO="$APP_PATH/Contents/Info.plist"
88

99
[ -z "$CONVENTIONAL_GITHUB_RELEASER_TOKEN" ] && echo "Need to set Token" && exit 1;
10-
cp package.json _package.json &&
11-
bump=`conventional-recommended-bump -p angular` &&
12-
echo ${1:-$bump} &&
13-
npm --no-git-tag-version version ${1:-$bump} &>/dev/null &&
1410
version=`cat package.json | json version` &&
1511
perl -pi -e "s/#version#/$version/g" "$INFO" &&
1612
zip --symlinks -r9 "medis.zip" "$APP_PATH" &&
1713
conventional-changelog -i CHANGELOG.md -s -p angular &&
1814
git add CHANGELOG.md &&
19-
version=`cat package.json | json version` &&
2015
git commit -m"docs(CHANGELOG): $version" &&
21-
mv -f _package.json package.json &&
22-
npm version ${1:-$bump} -m "chore(release): %s" &&
16+
npm version $version -m "chore(release): %s" &&
2317
git push --follow-tags &&
2418
node "bin/conventional-github-releaser" &&
2519
TARGET="medis-v$version-mac-x64.zip" &&

0 commit comments

Comments
 (0)