File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,6 @@ function run() {
2020 fi
2121}
2222
23- echo " ==> Checking package.json is up to date"
24- version=$( run ./jk run std/version.jk)
25- if [ " $version " != " $tag " ]; then
26- echo " error: releasing $tag but std/package.json references $version "
27- exit 1
28- fi
29-
3023echo " ==> Creating $tag release"
3124run github-release release \
3225 --user $user \
@@ -60,6 +53,13 @@ if [ $os != "linux" ]; then
6053 exit 0
6154fi
6255
56+ echo " ==> Checking package.json is up to date"
57+ version=$( run ./$binary run std/version.jk)
58+ if [ " $version " != " $tag " ]; then
59+ echo " error: releasing $tag but std/package.json references $version "
60+ exit 1
61+ fi
62+
6363echo " ==> Uploading npm module"
6464if [ -z " $NPM_TOKEN " ]; then
6565 echo " error: NPM_TOKEN needs to be defined for pushing npm modules"
You can’t perform that action at this time.
0 commit comments