aboutsummaryrefslogtreecommitdiff
path: root/push.sh
blob: 63d26c34f496f15c2e64494982d3531e0136e7dc (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# push to git, create a new build from scratch, post it on webserver,
# and print the short git hash (for copy/pasting into irc).
# "sluk" is a shell script that you don't have :)

git push -4 && make distclean all || exit 1
URL="$( sluk taipan.xex )"
REV="$( git rev-parse --short HEAD )"

echo "build ID $REV at $URL"