File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ patchVersion=$( npm --no-git-tag version patch)
4+ nextVersion=${patchVersion} -next." $( date +%Y%m%d%k%M%S) "
5+ echo " ${nextVersion: 1} "
6+
7+ npm version --no-git-tag -f " ${nextVersion: 1} "
8+ npm run publish-next
Original file line number Diff line number Diff line change 6565 deploy :
6666 - provider : script
6767 skip_cleanup : false
68- script : npm run publish-next
68+ script : bash ./build/pre-release.sh
6969 on :
7070 branch : develop
7171 - provider : script
Original file line number Diff line number Diff line change 5050 "coverage" : " jest --coverage" ,
5151 "lint" : " tslint -p tsconfig.json" ,
5252 "watch" : " tsc -w -p ." ,
53- "publish-next" : " bump prerelease --preid next && npm publish --tag next" ,
53+ "publish-next" : " npm publish --tag next" ,
5454 "prepublishOnly" : " npm run compile" ,
5555 "versionBump" : " bump --tag --push --all" ,
5656 "typedoc" : " typedoc --options ./typedoc.js --out ./docs lib/"
You can’t perform that action at this time.
0 commit comments