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 65
65
deploy :
66
66
- provider : script
67
67
skip_cleanup : false
68
- script : npm run publish-next
68
+ script : bash ./build/pre-release.sh
69
69
on :
70
70
branch : develop
71
71
- provider : script
Original file line number Diff line number Diff line change 50
50
"coverage" : " jest --coverage" ,
51
51
"lint" : " tslint -p tsconfig.json" ,
52
52
"watch" : " tsc -w -p ." ,
53
- "publish-next" : " bump prerelease --preid next && npm publish --tag next" ,
53
+ "publish-next" : " npm publish --tag next" ,
54
54
"prepublishOnly" : " npm run compile" ,
55
55
"versionBump" : " bump --tag --push --all" ,
56
56
"typedoc" : " typedoc --options ./typedoc.js --out ./docs lib/"
You can’t perform that action at this time.
0 commit comments