view deploy/src/archive-tip.sh @ 2405:6cc506f27a20

Added tag sv_v4.0 for changeset 7c09d776d579
author Chris Cannam
date Fri, 25 Oct 2019 11:03:46 +0100
parents b578440bbca6
children 7535f13569fa
line wrap: on
line source
#!/bin/bash

id=`hg id | awk '{ print $1; }'`

case "$id" in
    *+) echo "ERROR: Current working copy has been modified - unmodified copy required"; exit 2;;
    *);;
esac

echo "Packaging from id $id..."

hg update -r"$id"

./repoint archive /tmp/sonic-visualiser-"$id".tar.gz --exclude sv-dependency-builds repoint.pri

echo Done
echo