Skip to content

Commit

Permalink
build: add universal build
Browse files Browse the repository at this point in the history
  • Loading branch information
idc101 committed Apr 23, 2023
1 parent 63c634c commit 39a82bc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import Dependencies._

ThisBuild / scalaVersion := "2.12.11"
ThisBuild / version := "1.3.0"
ThisBuild / organization := "net.cardnell"
ThisBuild / maintainer := "idc101@users.noreply.github.com"
scalaVersion := "2.12.11"
version := "1.3.0"
organization := "net.cardnell"
maintainer := "idc101@users.noreply.github.com"

enablePlugins(JavaAppPackaging)

Expand Down
5 changes: 5 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,8 @@ then
LINUX_SHA256=$(openssl dgst -sha256 target/git-mkver-linux-$arch-$version.tar.gz | cut -f2 -d' ')
echo "LINUX_SHA256=$LINUX_SHA256"
fi

# build universal
sbt universal:packageBin
UNIVERSAL_SHA256=$(openssl dgst -sha256 target/universal/git-mkver-$version.zip | cut -f2 -d' ')
echo "UNIVERSAL_SHA256=$UNIVERSAL_SHA256"

0 comments on commit 39a82bc

Please sign in to comment.