tint2/packaging/update_version_status.sh
2017-09-12 23:34:53 +02:00

21 lines
330 B
Bash
Executable file

#!/bin/bash
set -e
set -x
flock -w 0 ~/tint2.runner-version.log
exec > ~/tint2.runner-version.log
exec 2>&1
cd ~/tint2.wiki
git reset --hard
git pull
~/tint2/packaging/version_status.py > packaging.tmp.md
cat packaging.tmp.md > packaging.md
rm packaging.tmp.md
git commit -am 'Update packaging info'
git push origin master