mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-22 02:58:45 -04:00
Added auto release note using template
This commit is contained in:
10
.github/workflows/buildapp.yml
vendored
10
.github/workflows/buildapp.yml
vendored
@@ -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
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user