view deploy/src/archive-tip.sh @ 1868:471b0fb002ea

First cut at updating archive scripts to use Repoint
author Chris Cannam
date Tue, 19 Jun 2018 15:20:56 +0100
parents d333705f6c29
children b578440bbca6
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-"$v".tar.gz --exclude sv-dependency-builds repoint.pri

echo Done
echo