aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-12-23 02:22:06 +0100
committerLinnea Gräf <nea@nea.moe>2024-12-23 02:22:06 +0100
commitf0285e44ed113bcf2a11b5d6635f6124deb7fc3b (patch)
tree7ebcc5faaf014287f17696c501351447cbe8890d /.github/workflows
parent6b7f5b95b0541eb0e76855152e283e5f9cad0c3c (diff)
downloadLocalTransactionLedger-f0285e44ed113bcf2a11b5d6635f6124deb7fc3b.tar.gz
LocalTransactionLedger-f0285e44ed113bcf2a11b5d6635f6124deb7fc3b.tar.bz2
LocalTransactionLedger-f0285e44ed113bcf2a11b5d6635f6124deb7fc3b.zip
feat: Add in game updater
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml8
1 files changed, 8 insertions, 0 deletions
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