mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-27 08:21:03 +02:00
32 lines
1.1 KiB
Bash
Executable File
32 lines
1.1 KiB
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
git pull
|
|
|
|
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"
|
|
|
|
cd "$ROOT_DIR/.."
|
|
echo "---------------------------------------------------"
|
|
echo "npm run buildWebsite..."
|
|
echo "---------------------------------------------------"
|
|
npm run buildWebsite
|
|
|
|
echo "---------------------------------------------------"
|
|
echo "Commit changes..."
|
|
echo "---------------------------------------------------"
|
|
git add -A && git commit -m "Update website" && git pull && git push |