From f0285e44ed113bcf2a11b5d6635f6124deb7fc3b Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Mon, 23 Dec 2024 02:22:06 +0100 Subject: feat: Add in game updater --- .github/workflows/build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 71a5e94..dfc10a0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,6 +41,13 @@ jobs: name: mod-jar - name: Update release run: | + echo Generating notes + ( + echo "Automatically generated nightly release. This release is updated on each new commit" + echo + echo Generated from commit: \`$(git rev-parse HEAD)\` + )> release-notes.md + cat release-notes.md echo Deleting all existing nightly assets gh release view nightly --json assets \ | jq '.assets[]|.name' -r \ @@ -53,5 +60,6 @@ jobs: git push -f origin nightly echo Upload release gh release upload nightly -- "$(echo *.jar)" + gh release edit nightly -F release-notes.md env: GH_TOKEN: ${{ github.token }} \ No newline at end of file -- cgit