1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-15 09:04:04 +02:00
joplin/packages/renderer/publish.sh

14 lines
293 B
Bash
Raw Normal View History

#!/bin/bash
set -e
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$SCRIPT_DIR"
yarn run buildAssets
npm version patch
2021-12-27 19:02:18 +02:00
npm publish
NEW_VERSION=$(cat package.json | jq -r .version)
git add -A
git commit -m "v$NEW_VERSION"
git tag "v$NEW_VERSION"
git push && git push --tags