Skip to content

Commit

Permalink
Fix release.sh's retry command.
Browse files Browse the repository at this point in the history
  • Loading branch information
kentonv committed Sep 2, 2013
1 parent 268ecfe commit 0613b08
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,14 @@ case "${1-}:$BRANCH" in

OLD_VERSION=$(get_release_version)
build_packages $OLD_VERSION
done_banner $OLD_VERSION release-$OLD_VERSION no

if [[ $OLD_VERSION == *-rc* ]]; then
BRANCH_VERSION=${OLD_VERSION%%-rc*}
done_banner $OLD_VERSION release-$BRANCH_VERSION no
else
doit git tag v$OLD_VERSION
done_banner $OLD_VERSION "v$OLD_VERSION release-$OLD_VERSION" no
fi
;;

# ======================================================================================
Expand Down

0 comments on commit 0613b08

Please sign in to comment.