Added auto release note using template

This commit is contained in:
Balackburn
2023-07-04 02:16:06 +02:00
parent cdcecc0766
commit d1ffee2e49
2 changed files with 28 additions and 19 deletions

View File

@@ -141,6 +141,14 @@ jobs:
path: ${{ github.workspace }}/main/packages/${{ steps.build_package.outputs.package }}
if-no-files-found: error
- name: Prepare Release Notes
run: |
export TODAY=$(date '+%Y-%m-%d')
sed -e "s/%%CERCUBE_VERSION%%/${{ inputs.cercube_version }}/g" \
-e "s/%%YOUTUBE_VERSION%%/${{ inputs.youtube_version }}/g" \
-e "s/%%TODAY%%/${TODAY}/g" \
.github/RELEASE_TEMPLATE/Release.md > .github/release_notes.md
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v0.1.15
@@ -154,6 +162,8 @@ jobs:
name: v${{ env.YOUTUBE_VERSION }}-${{ env.ytliteplus_version }}-(${{ github.run_number }})
files: main/packages/*.ipa
draft: ${{ env.DRAFT }}
body_path: .github/release_notes.md