Merge pull request #1439 from akka/wip-release-script-∂π
forward-port the things we learned on the release-2.1 branch
This commit is contained in:
commit
85954621ef
2 changed files with 7 additions and 1 deletions
|
|
@ -82,7 +82,7 @@
|
|||
{%- endif %}
|
||||
</li>
|
||||
<li>
|
||||
Version {{ version|e }}
|
||||
Version {{ release|e }}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -2,6 +2,9 @@
|
|||
#
|
||||
# Release script for Akka.
|
||||
#
|
||||
# ATTENTION: This script involves calling `git clean -fxd` which will remove all untracked
|
||||
# files from your working directory (including IDE settings).
|
||||
#
|
||||
# Prerequisites and Installation Instructions
|
||||
#
|
||||
# 1) You must be able to sign the artifacts with PGP
|
||||
|
|
@ -211,6 +214,9 @@ declare -r initial_branch=$(get_current_branch)
|
|||
fail "There are uncommitted changes - please commit before releasing"
|
||||
}
|
||||
|
||||
(read -p "The working directory will now be cleaned from all non-tracked files. Are you sure you want this? " x; test "$x" = yes) || fail "bailing out"
|
||||
git clean -fxd || fail "cannot git clean -fxd"
|
||||
|
||||
# the branch we'll release on
|
||||
declare -r release_branch="releasing-${version}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue