Skip to content

Commit 33cb5fc

Browse files
committed
chrome doesn't accept -SNAPSHOT in the extension version
1 parent 6d1ad26 commit 33cb5fc

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

release.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,14 @@ error() {
1818
main() {
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
}

0 commit comments

Comments
 (0)