Mercurial > hg > sonic-visualiser
comparison 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 |
comparison
equal
deleted
inserted
replaced
1867:ad590578bf57 | 1868:471b0fb002ea |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 | 2 |
3 tag=`hg id | awk '{ print $1; }'` | 3 id=`hg id | awk '{ print $1; }'` |
4 | 4 |
5 echo "Packaging from tag $tag..." | 5 case "$id" in |
6 *+) echo "ERROR: Current working copy has been modified - unmodified copy required"; exit 2;; | |
7 *);; | |
8 esac | |
6 | 9 |
7 hg archive -r"$tag" --subrepos --exclude sv-dependency-builds /tmp/sonic-visualiser-"$tag".tar.gz | 10 echo "Packaging from id $id..." |
8 | 11 |
12 hg update -r"$id" | |
13 | |
14 ./repoint archive /tmp/sonic-visualiser-"$v".tar.gz --exclude sv-dependency-builds repoint.pri | |
15 | |
16 echo Done | |
17 echo | |
18 |