Adding Changelog
Some checks failed
Create Release / changelog (push) Successful in 7s
Create Release / checksum (push) Successful in 8s
Create Release / release (push) Failing after 5s
Create Release / cleanup (push) Failing after 5s

This commit is contained in:
2025-11-24 14:53:08 -06:00
parent f8a61e0930
commit 31bfbee317

View File

@@ -6,6 +6,18 @@ on:
- main
jobs:
changelog:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Generate Release Changelog
run: |
git log --pretty="- %s" --since=$(curl -s -X 'GET' 'https://gitea.computersurge.dev/api/v1/repos/ninjasurge/ninjasurge.sh/releases' -H 'accept: application/json' | jq -r '.[0].published_at') > changelog
checksum:
runs-on: ubuntu-latest
permissions:
@@ -48,3 +60,16 @@ jobs:
.checksum
tag_name: ${{ steps.version.outputs.VERSION }}
name: Release ${{ steps.version.outputs.VERSION }}
body_path: changelog
cleanup:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Remove changelog
run: |
rm changelog .checksum