diff options
Diffstat (limited to 'scripts/upload.sh')
| -rwxr-xr-x | scripts/upload.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/upload.sh b/scripts/upload.sh new file mode 100755 index 000000000000..b55616d03f02 --- /dev/null +++ b/scripts/upload.sh @@ -0,0 +1,19 @@ +#!/bin/sh -e + +make unifdef.txt +cp unifdef.txt web + +git gc --aggressive +git update-server-info +git push --all github +git push --tags github + +# for gitweb +echo "selectively remove C preprocessor conditionals" >.git/description +echo "Homepage: <a href='http://dotat.at/prog/unifdef'>http://dotat.at/prog/unifdef</a>" >.git/README.html + +touch .git/git-daemon-export-ok +rsync --recursive --links --delete .git/ chiark:public-git/unifdef.git/ +rsync --recursive --links web/ chiark:public-html/prog/unifdef/ + +exit |
