From 4015c1d84cffe26b005f5480a998b6d6f48b6832 Mon Sep 17 00:00:00 2001 From: Nicolas Sebrecht Date: Fri, 20 Mar 2015 12:08:39 +0100 Subject: [PATCH] release.sh: dont publish anything by script Signed-off-by: Nicolas Sebrecht --- contrib/release.sh | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/contrib/release.sh b/contrib/release.sh index 0bf0444..283c965 100755 --- a/contrib/release.sh +++ b/contrib/release.sh @@ -18,7 +18,6 @@ __VERSION__='v0.1' -SEND_BY_MAIL='git send-email' SPHINXBUILD=sphinx-build MAILING_LIST='offlineimap-project@lists.alioth.debian.org' @@ -293,13 +292,12 @@ function update_website () { cd "../$DOCSDIR" make websitedoc && { cd ../website && { - branch_name="import-$1" - git checkout -b "$branch_name" - git add '_doc/versions' - git commit -s -m"doc: import of developer documentation for offlineimap $1" - git checkout master - git merge "$branch_name" - echo "website: master branch ready for a push!" + branch_name="import-$1" + git checkout -b "$branch_name" + git add '_doc/versions' + git commit -a -s -m"update for offlineimap $1" + git checkout master + echo "website: branch '$branch_name' ready for a merge in master!" } } } || { @@ -372,12 +370,6 @@ function edit_announce () { } -function send_announce () { - ask 'Press Enter to to send announce' - test $? -eq $Yes && $SEND_BY_MAIL "$TMP_ANNOUNCE" -} - - function clear_env () { rm -f "$TMP_CHANGELOG_EXCERPT" } @@ -417,7 +409,6 @@ function run () { git_release $new_version update_website $new_version - send_announce clear_env } @@ -426,6 +417,7 @@ cat <