release.sh: dont publish anything by script

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht 2015-03-20 12:08:39 +01:00
parent 97689ee484
commit 4015c1d84c

View File

@ -18,7 +18,6 @@
__VERSION__='v0.1' __VERSION__='v0.1'
SEND_BY_MAIL='git send-email'
SPHINXBUILD=sphinx-build SPHINXBUILD=sphinx-build
MAILING_LIST='offlineimap-project@lists.alioth.debian.org' MAILING_LIST='offlineimap-project@lists.alioth.debian.org'
@ -293,13 +292,12 @@ function update_website () {
cd "../$DOCSDIR" cd "../$DOCSDIR"
make websitedoc && { make websitedoc && {
cd ../website && { cd ../website && {
branch_name="import-$1" branch_name="import-$1"
git checkout -b "$branch_name" git checkout -b "$branch_name"
git add '_doc/versions' git add '_doc/versions'
git commit -s -m"doc: import of developer documentation for offlineimap $1" git commit -a -s -m"update for offlineimap $1"
git checkout master git checkout master
git merge "$branch_name" echo "website: branch '$branch_name' ready for a merge in master!"
echo "website: master branch ready for a push!"
} }
} }
} || { } || {
@ -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 () { function clear_env () {
rm -f "$TMP_CHANGELOG_EXCERPT" rm -f "$TMP_CHANGELOG_EXCERPT"
} }
@ -417,7 +409,6 @@ function run () {
git_release $new_version git_release $new_version
update_website $new_version update_website $new_version
send_announce
clear_env clear_env
} }
@ -426,6 +417,7 @@ cat <<EOF
Release is ready! Release is ready!
Make your checks and push the changes for both offlineimap and the website. Make your checks and push the changes for both offlineimap and the website.
Announce template stands in '$TMP_ANNOUNCE'.
Have fun! ,-) Have fun! ,-)
EOF EOF