Add release script

This commit is contained in:
Christian Bundy 2019-12-29 13:51:57 -08:00
parent 306c1642a3
commit b8ab543b09
No known key found for this signature in database
GPG Key ID: EB541AAEF4366237
1 changed files with 10 additions and 0 deletions

10
scripts/release.sh Executable file
View File

@ -0,0 +1,10 @@
#!/usr/bin/sh
git push -f origin master:release-$(jq -r .version < package.json)
until git push origin master; do
sleep 120;
done
npm publish