1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-21 09:38:01 +02:00
joplin/ElectronClient/release_version.sh

12 lines
338 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
echo "Open https://github.com/laurent22/joplin/tags and create a draft release for tag $VERSION"