aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-04-26 18:29:53 +0200
committerLinnea Gräf <nea@nea.moe>2024-04-26 18:29:53 +0200
commitf48066a380bf6c7b1dd5e4d6fda25daaabf052de (patch)
tree5b99d3b76bd2f4d0822f78f5fd1522f3e64febc9
parent613a27950135a6cfa36f8994e6c62137a4efc9c8 (diff)
downloadFirmament-f48066a380bf6c7b1dd5e4d6fda25daaabf052de.tar.gz
Firmament-f48066a380bf6c7b1dd5e4d6fda25daaabf052de.tar.bz2
Firmament-f48066a380bf6c7b1dd5e4d6fda25daaabf052de.zip
Update release script
[no changelog]
-rwxr-xr-xdocs/release_script.sh3
-rw-r--r--shell.nix2
2 files changed, 4 insertions, 1 deletions
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**: <https://github.com/nea89o/Firmament/compare/$oldversion...$newversion>" > "$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}
'';
}