From f48066a380bf6c7b1dd5e4d6fda25daaabf052de Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Fri, 26 Apr 2024 18:29:53 +0200 Subject: Update release script [no changelog] --- docs/release_script.sh | 3 ++- shell.nix | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/release_script.sh b/docs/release_script.sh index 84e69c6..e967879 100755 --- a/docs/release_script.sh +++ b/docs/release_script.sh @@ -129,7 +129,7 @@ mkdir -p "$basedir/.gradle" releasenotes="$basedir/.gradle/releasenotes.md" echo Building release notes -echo "**Full Changelog**: https://github.com/nea89o/Firmament/compare/$oldversion...$newversion" > "$releasenotes" +echo "**Full Changelog**: " > "$releasenotes" echo >> "$releasenotes" git log --pretty='- %s' --grep '[no changelog]' --invert-grep --fixed-strings "$oldversion..$newversion" | tac >> "$releasenotes" echo >> "$releasenotes" @@ -142,6 +142,7 @@ echo Press Enter to resume read echo Building JAR +"$basedir"/gradlew --stop "$basedir"/gradlew clean build echo Release notes: diff --git a/shell.nix b/shell.nix index 865c75c..dbbeb28 100644 --- a/shell.nix +++ b/shell.nix @@ -11,10 +11,12 @@ pkgs.mkShell { reuse pre-commit glfw + jdk21 libGL ]; shellHook = '' export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${pkgs.glfw}/lib" export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${pkgs.libGL}/lib" + export JAVA_HOME=${pkgs.jdk21} ''; } -- cgit