chore: revert removal of scripts folder

This commit is contained in:
Christopher Hiller
2021-05-18 13:20:20 -07:00
parent b3b40aed6f
commit b1a1a3aae4
2 changed files with 17 additions and 0 deletions

13
scripts/release-branch.sh Normal file
View File

@@ -0,0 +1,13 @@
git fetch
echo "* Creating release branch $1"
git checkout -b releases/$1
rm -rf node_modules/ npm-shrinkwrap.json package-lock.json
npm install
npm shrinkwrap
echo "* git add ."
git add npm-shrinkwrap.json package.json
git commit -m 'add shrinkwrap'
echo "* npm version $1.0-rc.0"
npm version $1.0-rc.0
git push origin releases/$1
bash ./scripts/release.sh

View File

@@ -0,0 +1,4 @@
npm version prerelease --preid=$1
git push
git push --tags
npm publish --tag $1