annotate deploy/src/archive-tip.sh @ 2596:04d381f0d89a tip

Default branch is now named default on git as well as hg, in case we ever want to switch to mirroring in the other direction
author Chris Cannam
date Thu, 27 Aug 2020 15:58:56 +0100
parents 7535f13569fa
children
rev   line source
Chris@718 1 #!/bin/bash
Chris@718 2
Chris@1868 3 id=`hg id | awk '{ print $1; }'`
Chris@718 4
Chris@1868 5 case "$id" in
Chris@1868 6 *+) echo "ERROR: Current working copy has been modified - unmodified copy required"; exit 2;;
Chris@1868 7 *);;
Chris@1868 8 esac
Chris@718 9
Chris@1868 10 echo "Packaging from id $id..."
Chris@718 11
Chris@1868 12 hg update -r"$id"
Chris@1868 13
Chris@2558 14 ./repoint archive /tmp/sonic-visualiser-"$id".tar.gz --exclude sv-dependency-builds export-tests repoint.pri
Chris@1868 15
Chris@1868 16 echo Done
Chris@1868 17 echo
Chris@1868 18