Skip to content

Commit

Permalink
release script
Browse files Browse the repository at this point in the history
  • Loading branch information
ogeagla committed Feb 7, 2024
1 parent 44dbc6e commit 0f75b2a
Showing 2 changed files with 24 additions and 0 deletions.
23 changes: 23 additions & 0 deletions bin/release_jar_with_checksum.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/usr/bin/env bash
set -e

mkdir -p releases
rm -rf releases/*.zip
rm -rf releases/*.jar

lein uberjar


cp target/uberjar/closyr-0.1.0-SNAPSHOT-standalone.jar releases/closyr-0.1.0-SNAPSHOT-standalone.jar
zip --junk-paths releases/closyr-0.1.0-SNAPSHOT-standalone.jar.zip releases/closyr-0.1.0-SNAPSHOT-standalone.jar

shasum -a 256 releases/closyr-0.1.0-SNAPSHOT-standalone.jar | cut -d " " -f 1 > releases/closyr-0.1.0-SNAPSHOT-standalone.jar.shasum256.txt
shasum -a 256 releases/closyr-0.1.0-SNAPSHOT-standalone.jar.zip | cut -d " " -f 1 > releases/closyr-0.1.0-SNAPSHOT-standalone.jar.zip.shasum256.txt

echo "JAR SHA256:"
cat releases/closyr-0.1.0-SNAPSHOT-standalone.jar.shasum256.txt

echo "JAR ZIP SHA256:"
cat releases/closyr-0.1.0-SNAPSHOT-standalone.jar.zip.shasum256.txt

echo "Done, check release folder"
1 change: 1 addition & 0 deletions run_with_theme.sh → bin/run_with_theme.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -e

export _JAVA_OPTIONS="$_JAVA_OPTIONS \
-Dawt.useSystemAAFontSettings=on \

0 comments on commit 0f75b2a

Please sign in to comment.