Skip to content

Commit

Permalink
Added support for sbt 0.13.11
Browse files Browse the repository at this point in the history
  • Loading branch information
jkutner committed Feb 23, 2016
1 parent 20d03d9 commit 7a99c80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/common.sh
Expand Up @@ -132,7 +132,7 @@ get_supported_sbt_version() {
local ctxDir=$1
if _has_buildPropertiesFile $ctxDir; then
sbtVersionLine="$(grep -P '[ \t]*sbt\.version[ \t]*=' "${ctxDir}"/project/build.properties | sed -E -e 's/[ \t\r\n]//g')"
sbtVersion=$(expr "$sbtVersionLine" : 'sbt\.version=\(0\.1[1-3]\.[0-9]\(-[a-zA-Z0-9_]*\)*\)$')
sbtVersion=$(expr "$sbtVersionLine" : 'sbt\.version=\(0\.1[1-3]\.[0-9]*\(-[a-zA-Z0-9_]*\)*\)$')
if [ "$sbtVersion" != 0 ] ; then
echo "$sbtVersion"
else
Expand Down

0 comments on commit 7a99c80

Please sign in to comment.