Mercurial > hg > tony
view deploy/src/archive.sh @ 631:22724d007706 v2.1pre1
Remove 32-bit Windows package for simpler maintenance
author | Chris Cannam |
---|---|
date | Thu, 10 Oct 2019 14:56:47 +0100 |
parents | 287b7b349a8a |
children | 59945b8b52ce |
line wrap: on
line source
#!/bin/bash set -eu tag=`hg tags | grep '^v' | head -1 | awk '{ print $1; }'` v=`echo "$tag" | sed 's/v//' | sed 's/_.*$//'` current=$(hg id | awk '{ print $1; }') case "$current" in *+) echo "ERROR: Current working copy has been modified - unmodified copy required so we can update to tag and back again safely"; exit 2;; *);; esac echo echo -n "Packaging up version $v from tag $tag... " hg update -r"$tag" ./repoint archive /tmp/tony-"$v".tar.gz --exclude sv-dependency-builds repoint.pri hg update -r"$current" echo Done echo