2017-09-12 20:56:25 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2017-11-05 18:14:34 +00:00
|
|
|
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
|
|
|
|
|
2017-09-12 20:56:25 +00:00
|
|
|
set -e
|
|
|
|
set -x
|
|
|
|
|
2017-09-12 21:41:06 +00:00
|
|
|
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en "$0" "$0" "$@" || :
|
|
|
|
|
2017-09-12 21:34:53 +00:00
|
|
|
exec > ~/tint2.runner-version.log
|
|
|
|
exec 2>&1
|
2017-09-12 20:56:25 +00:00
|
|
|
|
|
|
|
cd ~/tint2.wiki
|
|
|
|
git reset --hard
|
|
|
|
git pull
|
|
|
|
|
|
|
|
|
2017-12-31 09:20:15 +00:00
|
|
|
timeout -k 10 600 ~/tint2/packaging/version_status.py > packaging.tmp.md
|
2017-09-12 21:14:08 +00:00
|
|
|
cat packaging.tmp.md > packaging.md
|
|
|
|
rm packaging.tmp.md
|
2017-09-12 20:56:25 +00:00
|
|
|
|
|
|
|
git commit -am 'Update packaging info'
|
2017-09-12 21:34:53 +00:00
|
|
|
git push origin master
|