Skip to content

Commit

Permalink
Ensure to remove control characters
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed Nov 7, 2024
1 parent a9a764c commit 5d5982c
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 rev-parse --short=7 HEAD)
commitDate=$(git show -s --format=%cd --date=format:"%Y%m%d" HEAD)
baseVersion="$(sbt 'eval Build.baseVersion' | grep 'ans: String =' | xargs | awk '{ print $5 }')"
baseVersion="$(sbt 'eval Build.baseVersion' | grep 'ans: String =' | xargs | awk '{ print $5 }' | tr -cd '[:print:]')"
# `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 5d5982c

Please sign in to comment.