aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-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