comparison deploy/clean-build-and-package @ 2396:ab09e05b0d35

Restore this check
author Chris Cannam
date Tue, 22 Oct 2019 17:13:50 +0100
parents ab2d0fe8f0b7
children 7c09d776d579
comparison
equal deleted inserted replaced
2395:5d2d3fdae354 2396:ab09e05b0d35
2 2
3 set -eu 3 set -eu
4 4
5 current=$(hg id | awk '{ print $1; }') 5 current=$(hg id | awk '{ print $1; }')
6 6
7 #case "$current" in 7 case "$current" in
8 # *+) echo "ERROR: Current working copy has been modified - not proceeding"; exit 2;; 8 *+) echo "ERROR: Current working copy has been modified - not proceeding";exit 2;;
9 # *);; 9 *);;
10 #esac 10 esac
11 11
12 version=`perl -p -e 's/^[^"]*"([^"]*)".*$/$1/' version.h` 12 version=`perl -p -e 's/^[^"]*"([^"]*)".*$/$1/' version.h`
13 13
14 mkdir -p packages 14 mkdir -p packages
15 echo 15 echo