joplin/CliClient/publish.sh

12 lines
302 B
Bash
Raw Normal View History

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