1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00
joplin/ElectronClient/release_version.sh

17 lines
512 B
Bash
Raw Normal View History

2017-11-16 13:42:06 +02:00
#!/bin/bash
ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
APP_DIR="$ROOT_DIR/app"
cd "$APP_DIR"
VERSION="$(npm version patch)"
git add -A
2017-11-16 21:21:23 +02:00
git commit -m "Electron release $VERSION"
2017-11-16 13:42:06 +02:00
git tag $VERSION
2017-11-16 21:21:23 +02:00
git push && git push --tags
2017-12-01 11:57:32 +02:00
echo ""
2017-11-23 21:04:56 +02:00
echo "Create a draft release at: https://github.com/laurent22/joplin/releases/tag/$VERSION"
2017-11-30 02:25:52 +02:00
echo ""
2017-12-01 11:57:32 +02:00
echo "Then run:"
echo ""
2018-01-03 21:20:16 +02:00
echo "git pull && node $APP_DIR/update-readme-download.js && git add -A && git commit -m 'Update website' && git push && git push --tags"