1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-26 18:58:21 +02:00
joplin/packages/tools/build-all.sh

37 lines
1.3 KiB
Bash
Raw Normal View History

2018-05-02 15:31:17 +01:00
#!/bin/bash
2020-01-21 09:42:27 +00:00
set -e
2018-05-02 15:31:17 +01:00
ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2020-11-06 21:52:24 +00:00
git pull
2020-01-21 09:42:27 +00:00
echo "---------------------------------------------------"
echo "$ROOT_DIR/update-readme-download.js..."
echo "---------------------------------------------------"
node "$ROOT_DIR/update-readme-download.js"
echo "---------------------------------------------------"
echo "$ROOT_DIR/build-release-stats.js..."
echo "---------------------------------------------------"
node "$ROOT_DIR/build-release-stats.js"
echo "---------------------------------------------------"
echo "$ROOT_DIR/build-welcome.js..."
echo "---------------------------------------------------"
node "$ROOT_DIR/build-welcome.js"
echo "---------------------------------------------------"
echo "$ROOT_DIR/update-readme-sponsors.js..."
echo "---------------------------------------------------"
node "$ROOT_DIR/update-readme-sponsors.js"
2020-11-05 16:58:23 +00:00
cd "$ROOT_DIR/.."
2020-01-21 09:42:27 +00:00
echo "---------------------------------------------------"
2020-11-05 16:58:23 +00:00
echo "npm run buildWebsite..."
2020-01-21 09:42:27 +00:00
echo "---------------------------------------------------"
2020-11-05 16:58:23 +00:00
npm run buildWebsite
2020-01-21 09:42:27 +00:00
echo "---------------------------------------------------"
echo "Commit changes..."
echo "---------------------------------------------------"
git add -A && git commit -m "Update website" && git pull && git push