We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2cd640 commit 95f04b8Copy full SHA for 95f04b8
build-and-test.sh
@@ -0,0 +1 @@
1
+. test.sh && npm run rust:build-nodejs
release.sh
@@ -0,0 +1,16 @@
+if [ $1 = "prod" ];
2
+then RELEASE_TYPE="prod"
3
+elif [ $1 = "beta" ];
4
+then RELEASE_TYPE="beta"
5
+else
6
+ echo "First parameter is expected 'prod' or 'beta'"
7
+ return 1
8
+fi
9
+
10
+echo "Preparing ${RELEASE_TYPE} release"
11
12
+. build-and-test.sh \
13
+&& npm run js:publish-nodejs:${RELEASE_TYPE} \
14
+&& npm run js:publish-browser:${RELEASE_TYPE} \
15
+&& npm run js:publish-asm:${RELEASE_TYPE} \
16
+&& (cd rust; cargo publish --allow-dirty)
test.sh
+nvm i && npm i && npm run rust:test
0 commit comments