Files
cordova-plugin-advanced-http/release.sh
2017-10-11 16:33:07 +02:00

11 lines
244 B
Bash
Executable File

#!/usr/bin/env bash
set -e
VERSION=$(node -e "console.log(require('./package.json').version)")
./scripts/update-tough-cookie.sh
node ./scripts/update-plugin-xml.js $VERSION
git commit -a -m "release v$VERSION"
git tag "v$VERSION"
npm publish