view deploy/src/archive-tip.sh @ 2572:27007726ccd2

Added tag sv_v4.1 for changeset fa3218d9fe97
author Chris Cannam
date Thu, 18 Jun 2020 15:42:46 +0100
parents 7535f13569fa
children
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 export-tests repoint.pri

echo Done
echo