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

12 lines
284 B
Bash
Raw Normal View History

2017-07-28 00:59:34 +02:00
#!/bin/bash
set -e
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$SCRIPT_DIR"
2017-07-28 00:59:34 +02:00
npm version patch
2017-08-05 00:15:08 +02:00
touch "$SCRIPT_DIR/app/main.js"
2017-07-28 00:59:34 +02:00
bash $SCRIPT_DIR/build.sh
cp "$SCRIPT_DIR/package.json" build/
2017-07-31 21:47:58 +02:00
cp "$SCRIPT_DIR/../README.md" build/
2017-07-28 00:59:34 +02:00
cd "$SCRIPT_DIR/build"
npm publish