diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2023-08-21 17:33:26 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2023-08-21 17:33:26 +0000 |
| commit | 9b3517a49d4e15b97a68bf9e9d68ddda104bf79d (patch) | |
| tree | 4673aad9f1a0a0ac19089f22aaa91d7c0b62a50e /scripts/upload.sh | |
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 |
