Skip to content

Commit

Permalink
Revert using --error in sbt eval
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed Nov 7, 2024
1 parent ad7f7b7 commit ad52f27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/setup-build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ runs:
git --no-pager log -1
commitHash=$(git --no-pager rev-parse --short=7 HEAD | xargs)
commitDate=$(git --no-pager show -s --format=%cd --date=format:"%Y%m%d" HEAD | xargs)
baseVersion=$(sbt --no-colors --error 'eval Build.baseVersion' | grep 'ans: String =' | awk '{ print $5 }' | xargs)
baseVersion=$(sbt --no-colors 'eval Build.baseVersion' | grep 'ans: String =' | awk '{ print $5 }' | xargs)
# `SNAPSHOT` substring is required to treat compiler as experimental
# All compilers build from branch are treated experimental
scalaVersion=${baseVersion}-${commitDate}-${commitHash}-SNAPSHOT
Expand Down

0 comments on commit ad52f27

Please sign in to comment.