mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-24 19:19:48 +02:00
chore(ci): use env.TAG, autogenerated release notes
This commit is contained in:
1 file changed
+16
-7
@@ -13,6 +13,9 @@ on:
|
|||||||
- CMakeLists.txt
|
- CMakeLists.txt
|
||||||
- Makefile
|
- Makefile
|
||||||
|
|
||||||
|
env:
|
||||||
|
TAG: ${{ github.ref_name }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-loader:
|
build-loader:
|
||||||
runs-on: macos-15
|
runs-on: macos-15
|
||||||
@@ -532,18 +535,24 @@ jobs:
|
|||||||
find . -maxdepth 1 -type f -print0 | tar --null -czf ../dist/resource.tar.gz --files-from=-
|
find . -maxdepth 1 -type f -print0 | tar --null -czf ../dist/resource.tar.gz --files-from=-
|
||||||
working-directory: embedded
|
working-directory: embedded
|
||||||
|
|
||||||
- name: Extract Version
|
|
||||||
id: get_version
|
|
||||||
run: |
|
|
||||||
echo "version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: softprops/action-gh-release@3bb12739c298aeb8a4eeaf626c5b8d85266b0e65
|
uses: softprops/action-gh-release@3bb12739c298aeb8a4eeaf626c5b8d85266b0e65
|
||||||
with:
|
with:
|
||||||
name: ${{ steps.get_version.outputs.version }}
|
name: ${{ env.TAG }}
|
||||||
tag_name: ${{ steps.get_version.outputs.version }}
|
tag_name: ${{ env.TAG }}
|
||||||
files: |
|
files: |
|
||||||
dist/*
|
dist/*
|
||||||
|
body: |
|
||||||
|
## What's Changed
|
||||||
|
|
||||||
|
<!-- auto generated -->
|
||||||
|
|
||||||
|
## Files
|
||||||
|
|
||||||
|
- `palera1n-iphoneos-${arch}.deb`: Palera1n for iOS jailbroken environments.
|
||||||
|
- `palera1n-linux-${arch}.tar.gz`: Palera1n for Linux on CPU architecture `${arch}`.
|
||||||
|
- `palera1n-macos-universal.dmg`: Palera1n for macOS 10.11+.
|
||||||
|
- `resources.tar.gz`: Precompiled embedded artifacts used for compiling this tool.
|
||||||
generate_release_notes: true
|
generate_release_notes: true
|
||||||
fail_on_unmatched_files: true
|
fail_on_unmatched_files: true
|
||||||
draft: true
|
draft: true
|
||||||
|
|||||||
Reference in new issue
Block a user