File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " rsocket-chrome-devtools" ,
3- "version" : " 0.0.3-SNAPSHOT " ,
3+ "version" : " 0.0.3" ,
44 "description" : " RSocket Chrome Devtools" ,
55 "scripts" : {
66 "clean" : " rm -rf dist && rm -f dist.zip" ,
Original file line number Diff line number Diff line change @@ -18,18 +18,14 @@ error() {
1818main () {
1919 local current_version
2020 current_version=$( cat package.json | jq -r .version)
21- if [[ ! " ${current_version} " =~ ^.* -SNAPSHOT$ ]]; then
22- error " pre-release version must be a snapshot"
23- fi
24- current_version=${current_version% -SNAPSHOT}
2521 info " releasing ${current_version} "
2622 yarn version --new-version " ${current_version} "
2723 yarn clean
2824 yarn dist
2925 local next_version
3026 info " release version: ${current_version} , next version:"
3127 read next_version
32- yarn version --no-git-tag-version --new-version " ${next_version} -SNAPSHOT "
28+ yarn version --no-git-tag-version --new-version " ${next_version} "
3329 git add package.json
3430 git ci -m" ${next_version} -SNAPSHOT"
3531}
You can’t perform that action at this time.
0 commit comments