view deploy/src/archive-tip.sh @ 2558:7535f13569fa

Move test/ to export-tests/ (so it can be distinguished from other test subdirs) and exclude from archive
author Chris Cannam
date Mon, 15 Jun 2020 17:45:04 +0100
parents b578440bbca6
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