|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
name: Release Creation
|
|
|
|
|
|
|
|
|
|
on:
|
|
|
|
|
on:
|
|
|
|
|
release:
|
|
|
|
|
types: [published]
|
|
|
|
|
|
|
|
|
@ -8,20 +8,20 @@ jobs:
|
|
|
|
|
build:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
|
|
|
|
|
# Build the changelog
|
|
|
|
|
- name: Build Changelog
|
|
|
|
|
id: build_changelog
|
|
|
|
|
uses: mikepenz/release-changelog-builder-action@v4
|
|
|
|
|
with:
|
|
|
|
|
configuration: ".github/configs/release-changelog-builder-action.json"
|
|
|
|
|
env:
|
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
|
|
|
|
|
# Change the update file
|
|
|
|
|
- name: Modify updates.txt
|
|
|
|
|
uses: jaywcjlove/github-action-modify-file-content@main
|
|
|
|
|
with:
|
|
|
|
|
path: docs\updates.txt
|
|
|
|
|
body: "{{date:YYYY-MM-DD HH:mm}}\n${{ steps.github_release.outputs.changelog }}"
|
|
|
|
|
# Build the changelog
|
|
|
|
|
- name: Build Changelog
|
|
|
|
|
id: build_changelog
|
|
|
|
|
uses: mikepenz/release-changelog-builder-action@v4
|
|
|
|
|
with:
|
|
|
|
|
configuration: ".github/configs/release-changelog-builder-action.json"
|
|
|
|
|
env:
|
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
|
|
|
|
|
# Change the update file
|
|
|
|
|
- name: Modify updates.txt
|
|
|
|
|
uses: jaywcjlove/github-action-modify-file-content@main
|
|
|
|
|
with:
|
|
|
|
|
path: docs\updates.txt
|
|
|
|
|
body: "{{date:YYYY-MM-DD HH:mm}}\n${{ steps.github_release.outputs.changelog }}"
|
|
|
|
|