Skip to content

Commit

Permalink
Prevent escape color sequences in pack.sh (Fix bleeding-edge build)
Browse files Browse the repository at this point in the history
  • Loading branch information
v6ak committed Oct 24, 2024
1 parent 12f4683 commit 707d9ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ set -o pipefail
sbt "project server" dist

version=$(
sbt version | tail -n1 | sed 's/^.* //' | grep -oE '[0-9.A-Z-]+' | head -n2 | tail -n1
sbt --batch version | tail -n1 | sed 's/^.* //' | grep -oE '[0-9.A-Z-]+' | head -n2 | tail -n1
)
scalaVersion=$(
sbt server/scalaVersion | tail -n1 | sed 's/^.* //' | grep -oE '[0-9.A-Z-]+' | head -n2 | tail -n1 | sed 's/^\([^.]*.[^.]*\).*/\1/'
sbt --batch server/scalaVersion | tail -n1 | sed 's/^.* //' | grep -oE '[0-9.A-Z-]+' | head -n2 | tail -n1 | sed 's/^\([^.]*.[^.]*\).*/\1/'
)

if [ -e target/assets ]; then
Expand Down

0 comments on commit 707d9ca

Please sign in to comment.