From 9915eb5832b95fb8659825c6a53de56d4239ae87 Mon Sep 17 00:00:00 2001 From: Romain Goffe Date: Sat, 14 Jan 2012 02:25:16 +0100 Subject: [PATCH] Utils: correct release script --- utils/release.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/release.sh b/utils/release.sh index 4ee8c806..418d1a44 100755 --- a/utils/release.sh +++ b/utils/release.sh @@ -72,10 +72,10 @@ git status if [ $# -eq 1 ]; then - echo -e "\nversion $MAIN.$MAJOR.$MINOR\n" | cat - NEWS > /tmp/out && mv /tmp/out NEWS - ./utils/new-songs-list.sh | cat - NEWS > /tmp/out && mv /tmp/out NEWS - git add templates/patacrep-en.tmpl templates/patacrep.tmpl NEWS - git commit -a -m "patacrep release version $MAIN.$MAJOR.$MINOR" + ./utils/new-songs-list.sh | cat - NEWS > /tmp/out && mv -f /tmp/out NEWS + echo "\nversion $MAIN.$MAJOR.$MINOR\n" | cat - NEWS > /tmp/out && mv -f /tmp/out NEWS + git add templates/patacrep-en.tmpl templates/patacrep.tmpl templates/ancient.tmpl books/volume-4.sb NEWS + git commit -m "patacrep release version $MAIN.$MAJOR.$MINOR" git tag "patacrep_$MAIN.$MAJOR.$MINOR" fi