fix: release changelog
This commit is contained in:
18
.github/release_message.md
vendored
18
.github/release_message.md
vendored
@@ -1,26 +1,26 @@
|
|||||||
<p dir="ltr" style="font-size: 24px"><b>${tag}:</b></p>
|
<p dir="ltr" style="font-size: 24px"><b>RELEASE_TAG:</b></p>
|
||||||
|
|
||||||
**Download based on your OS:**
|
**Download based on your OS:**
|
||||||
|
|
||||||
- **Android:** [Universal](https://github.com/hiddify/hiddify-next/releases/download/${tag}/hiddify-android-universal.apk) - [Arm64](https://github.com/hiddify/hiddify-next/releases/download/${tag}/hiddify-android-arm64.apk) - [Arm7](https://github.com/hiddify/hiddify-next/releases/download/${tag}/hiddify-android-arm7.apk) - [x86_64](https://github.com/hiddify/hiddify-next/releases/download/${tag}/hiddify-android-x86_64.apk)
|
- **Android:** [Universal](https://github.com/hiddify/hiddify-next/releases/download/RELEASE_TAG/hiddify-android-universal.apk) - [Arm64](https://github.com/hiddify/hiddify-next/releases/download/RELEASE_TAG/hiddify-android-arm64.apk) - [Arm7](https://github.com/hiddify/hiddify-next/releases/download/RELEASE_TAG/hiddify-android-arm7.apk) - [x86_64](https://github.com/hiddify/hiddify-next/releases/download/RELEASE_TAG/hiddify-android-x86_64.apk)
|
||||||
|
|
||||||
- **Windows:** [x64 Setup](https://github.com/hiddify/hiddify-next/releases/download/${tag}/hiddify-windows-x64-setup.exe) - [x64 Portable](https://github.com/hiddify/hiddify-next/releases/download/${tag}/hiddify-windows-x64-portable.zip)
|
- **Windows:** [x64 Setup](https://github.com/hiddify/hiddify-next/releases/download/RELEASE_TAG/hiddify-windows-x64-setup.exe) - [x64 Portable](https://github.com/hiddify/hiddify-next/releases/download/RELEASE_TAG/hiddify-windows-x64-portable.zip)
|
||||||
|
|
||||||
- **Linux:** [x64 AppImage](https://github.com/hiddify/hiddify-next/releases/download/${tag}/hiddify-linux-x64.AppImage.zip)
|
- **Linux:** [x64 AppImage](https://github.com/hiddify/hiddify-next/releases/download/RELEASE_TAG/hiddify-linux-x64.AppImage.zip)
|
||||||
|
|
||||||
- **macOS (v10.14+):** [Universal (x64, M series)](https://github.com/hiddify/hiddify-next/releases/download/${tag}/hiddify-macos-universal.dmg)
|
- **macOS (v10.14+):** [Universal (x64, M series)](https://github.com/hiddify/hiddify-next/releases/download/RELEASE_TAG/hiddify-macos-universal.dmg)
|
||||||
|
|
||||||
**List of all changes:** [ChangeLog](https://github.com/hiddify/hiddify-next/blob/main/changelog.md)
|
**List of all changes:** [ChangeLog](https://github.com/hiddify/hiddify-next/blob/main/changelog.md)
|
||||||
|
|
||||||
|
|
||||||
**بر اساس سیستم عامل خود یکی از فایلهای زیر را دانلود کنید:**
|
**بر اساس سیستم عامل خود یکی از فایلهای زیر را دانلود کنید:**
|
||||||
|
|
||||||
- **اندروید:** [Universal](https://github.com/hiddify/hiddify-next/releases/download/${tag}/hiddify-android-universal.apk) - [Arm64](https://github.com/hiddify/hiddify-next/releases/download/${tag}/hiddify-android-arm64.apk) - [Arm7](https://github.com/hiddify/hiddify-next/releases/download/${tag}/hiddify-android-arm7.apk) - [x86_64](https://github.com/hiddify/hiddify-next/releases/download/${tag}/hiddify-android-x86_64.apk)
|
- **اندروید:** [Universal](https://github.com/hiddify/hiddify-next/releases/download/RELEASE_TAG/hiddify-android-universal.apk) - [Arm64](https://github.com/hiddify/hiddify-next/releases/download/RELEASE_TAG/hiddify-android-arm64.apk) - [Arm7](https://github.com/hiddify/hiddify-next/releases/download/RELEASE_TAG/hiddify-android-arm7.apk) - [x86_64](https://github.com/hiddify/hiddify-next/releases/download/RELEASE_TAG/hiddify-android-x86_64.apk)
|
||||||
|
|
||||||
- **ویندوز:** [x64 Setup](https://github.com/hiddify/hiddify-next/releases/download/${tag}/hiddify-windows-x64-setup.exe) - [x64 Portable](https://github.com/hiddify/hiddify-next/releases/download/${tag}/hiddify-windows-x64-portable.zip)
|
- **ویندوز:** [x64 Setup](https://github.com/hiddify/hiddify-next/releases/download/RELEASE_TAG/hiddify-windows-x64-setup.exe) - [x64 Portable](https://github.com/hiddify/hiddify-next/releases/download/RELEASE_TAG/hiddify-windows-x64-portable.zip)
|
||||||
|
|
||||||
- **لینوکس:** [x64 AppImage](https://github.com/hiddify/hiddify-next/releases/download/${tag}/hiddify-linux-x64.AppImage.zip)
|
- **لینوکس:** [x64 AppImage](https://github.com/hiddify/hiddify-next/releases/download/RELEASE_TAG/hiddify-linux-x64.AppImage.zip)
|
||||||
|
|
||||||
- **مک (نسخه 10.14 به بعد):** [Universal (x64, M series)](https://github.com/hiddify/hiddify-next/releases/download/${tag}/hiddify-macos-universal.dmg)
|
- **مک (نسخه 10.14 به بعد):** [Universal (x64, M series)](https://github.com/hiddify/hiddify-next/releases/download/RELEASE_TAG/hiddify-macos-universal.dmg)
|
||||||
|
|
||||||
**لیست همه تغییرات:** [چنجلاگ](https://github.com/hiddify/hiddify-next/blob/main/changelog.md)
|
**لیست همه تغییرات:** [چنجلاگ](https://github.com/hiddify/hiddify-next/blob/main/changelog.md)
|
||||||
|
|||||||
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@@ -287,15 +287,18 @@ jobs:
|
|||||||
path: ./out/
|
path: ./out/
|
||||||
|
|
||||||
- name: Display Files Structure
|
- name: Display Files Structure
|
||||||
run: ls -R ./out
|
run: |
|
||||||
|
ls -R ./out
|
||||||
|
ls -R ./.github/
|
||||||
|
ls -R ./.git/
|
||||||
|
|
||||||
- name: prepare_release_message
|
- name: prepare_release_message
|
||||||
run: |
|
run: |
|
||||||
pip install gitchangelog pystache mustache markdown
|
pip install gitchangelog pystache mustache markdown
|
||||||
previous_release=$(curl --silent "https://api.github.com/repos/hiddify/hiddify-next/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")')
|
prelease=$(curl --silent "https://api.github.com/repos/hiddify/hiddify-next/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")')
|
||||||
current="${{ github.ref_name }}"
|
current="${{ github.ref_name }}"
|
||||||
gitchangelog "${previous_release}..$current" > release.md
|
gitchangelog $prelease..$current > release.md
|
||||||
sed 's|${tag}|${{ github.ref_name }}|g' ./.github/release_message.md >> release.md
|
sed 's|RELEASE_TAG|${{ github.ref_name }}|g' ./.github/release_message.md >> release.md
|
||||||
|
|
||||||
- name: Upload Release
|
- name: Upload Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
|
|||||||
Reference in New Issue
Block a user