Skip to content

Commit

Permalink
Merge pull request #18488 from akka/wip-harden-version-obtaining-ktoso
Browse files Browse the repository at this point in the history
=pro harden version getting against sbt warnings logged
  • Loading branch information
ktoso committed Sep 16, 2015
2 parents 93b245d + fb409dd commit 02898f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/scripts/release
Expand Up @@ -194,7 +194,7 @@ function get_current_branch {
# get the current project version from sbt
# a little messy as the ansi escape codes are included
function get_current_version {
local result=$(sbt version | tail -1 | cut -f2)
local result=$(sbt version | grep -v warn | tail -1 | cut -f2)
# remove ansi escape code from end
local code0=$(echo -e "\033[0m")
echo ${result%$code0}
Expand Down

0 comments on commit 02898f3

Please sign in to comment.