mirror of
https://github.com/appium/appium.git
synced 2026-02-22 03:08:47 -06:00
chore: revert removal of scripts folder
This commit is contained in:
13
scripts/release-branch.sh
Normal file
13
scripts/release-branch.sh
Normal 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
|
||||
4
scripts/release-candidate.sh
Normal file
4
scripts/release-candidate.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
npm version prerelease --preid=$1
|
||||
git push
|
||||
git push --tags
|
||||
npm publish --tag $1
|
||||
Reference in New Issue
Block a user