summaryrefslogtreecommitdiff
path: root/tools/push
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-15 07:37:25 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-15 16:45:50 -0400
commitaa55e5ede28ae1c8bc672df7637f4a4a6d8c4c69 (patch)
treefcdcecb45ae05d7b0695e1035b3979f4e560393b /tools/push
parent014fde3418783d1ee1ec7fe4ea6c8b04ae7f6cd8 (diff)
downloadfork-ledger-aa55e5ede28ae1c8bc672df7637f4a4a6d8c4c69.tar.gz
fork-ledger-aa55e5ede28ae1c8bc672df7637f4a4a6d8c4c69.tar.bz2
fork-ledger-aa55e5ede28ae1c8bc672df7637f4a4a6d8c4c69.zip
Extended proof/push to upload tarballs/gcov
Diffstat (limited to 'tools/push')
-rwxr-xr-xtools/push31
1 files changed, 26 insertions, 5 deletions
diff --git a/tools/push b/tools/push
index 286b3206..815c76cb 100755
--- a/tools/push
+++ b/tools/push
@@ -2,17 +2,38 @@
set -e
+ACPREP=./acprep --enable-cache --universal -j16 --warn opt
+
(cd plan/data; git push)
(cd plan; git commit -a -m "Update TODO files" && git push)
+
+git checkout next
+
+perl -i -pe "s/([-abgrc][0-9]*)?\\]\\)/-$(date +%Y%m%d)])/;" version.m4
+git add version.m4
+echo git commit -m "v$(cat version.m4 | sed 's/.*\[//' | sed 's/\].*//')"
+
git checkout master
git merge --no-ff next
git checkout next
git rebase master
git push
+
git checkout master
-./acprep --enable-cache --universal -j16 --warn opt upload
-cp -p ~/Products/ledger/opt/ledger ~/bin
-./acprep --enable-cache --universal -j16 --warn opt make speedtest 2>&1 \
- | tee build/last-speed.txt
-mv *.dmg* build
+$ACPREP upload
+$ACPREP make dist
+
+scp ~/Products/ledger/opt/ledger-*.tar.* jw:/srv/ftp/pub/ledger
+openssl md5 *.dmg* ~/Products/ledger/opt/ledger-*.tar.* > build/CHECKSUMS.txt
+openssl sha1 *.dmg* ~/Products/ledger/opt/ledger-*.tar.* >> build/CHECKSUMS.txt
+openssl rmd160 *.dmg* ~/Products/ledger/opt/ledger-*.tar.* >> build/CHECKSUMS.txt
+perl -i -pe 's/\/.*\///;' build/CHECKSUMS.txt
+scp build/CHECKSUMS.txt jw:/srv/ftp/pub/ledger
+
+rsync -az --delete ~/Products/ledger-proof/gcov/doc/report/ jw:/srv/ftp/pub/ledger/lcov/
+
+$ACPREP make speedtest 2>&1 | tee build/last-speed.txt
+
+mv *.dmg* ~/Products/ledger/opt/ledger-*.tar.* build
+
git checkout next