Skip to content

Commit

Permalink
pack.sh: remove references to activator
Browse files Browse the repository at this point in the history
  • Loading branch information
v6ak committed Sep 21, 2023
1 parent 63e6195 commit a8722b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ set -u
set -e
set -o pipefail

"$(which sbt activator | head -n1)" dist
sbt dist

version=$(
"$(which sbt activator | head -n1)" version | tail -n1 | sed 's/^.* //' | grep -oE '[0-9.A-Z-]+' | head -n2 | tail -n1
sbt version | tail -n1 | sed 's/^.* //' | grep -oE '[0-9.A-Z-]+' | head -n2 | tail -n1
)
scalaVersion=$(
"$(which sbt activator | head -n1)" server/scalaVersion | tail -n1 | sed 's/^.* //' | grep -oE '[0-9.A-Z-]+' | head -n2 | tail -n1 | sed 's/^\([^.]*.[^.]*\).*/\1/'
sbt 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 a8722b9

Please sign in to comment.