Mercurial > hg > tony
changeset 686:eb141af3866c
Ask for confirmation
author | Chris Cannam |
---|---|
date | Tue, 10 Dec 2019 09:42:49 +0000 |
parents | 17197c112f65 |
children | 08680771bf04 |
files | deploy/src/archive.sh |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/deploy/src/archive.sh Tue Dec 10 09:42:29 2019 +0000 +++ b/deploy/src/archive.sh Tue Dec 10 09:42:49 2019 +0000 @@ -6,6 +6,11 @@ v=`echo "$tag" | sed 's/v//' | sed 's/_.*$//'` +echo -n "Package up source code for version $v from tag $tag [Yn] ? " +read yn +case "$yn" in "") ;; [Yy]) ;; *) exit 3;; esac +echo "Proceeding" + current=$(hg id | awk '{ print $1; }') case "$current" in