chore: add dev release

This commit is contained in:
ezequielnick 2025-08-09 19:02:08 +08:00
parent b5ee701530
commit 6172cadca8

View File

@ -67,6 +67,18 @@ jobs:
dist/*portable.7z dist/*portable.7z
body_path: changelog.md body_path: changelog.md
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish Dev Release
if: github.event_name == 'workflow_dispatch'
uses: softprops/action-gh-release@v2
with:
tag_name: dev
files: |
dist/*.sha256
dist/*setup.exe
dist/*portable.7z
body: "Development build from ${{ github.sha }}"
prerelease: true
token: ${{ secrets.GITHUB_TOKEN }}
windows7: windows7:
strategy: strategy:
@ -124,6 +136,18 @@ jobs:
dist/*portable.7z dist/*portable.7z
body_path: changelog.md body_path: changelog.md
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish Dev Release
if: github.event_name == 'workflow_dispatch'
uses: softprops/action-gh-release@v2
with:
tag_name: dev
files: |
dist/*.sha256
dist/*setup.exe
dist/*portable.7z
body: "Development build from ${{ github.sha }}"
prerelease: true
token: ${{ secrets.GITHUB_TOKEN }}
linux: linux:
strategy: strategy:
@ -174,6 +198,18 @@ jobs:
dist/*.rpm dist/*.rpm
body_path: changelog.md body_path: changelog.md
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish Dev Release
if: github.event_name == 'workflow_dispatch'
uses: softprops/action-gh-release@v2
with:
tag_name: dev
files: |
dist/*.sha256
dist/*.deb
dist/*.rpm
body: "Development build from ${{ github.sha }}"
prerelease: true
token: ${{ secrets.GITHUB_TOKEN }}
macos: macos:
strategy: strategy:
@ -247,6 +283,17 @@ jobs:
dist/*.pkg dist/*.pkg
body_path: changelog.md body_path: changelog.md
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish Dev Release
if: github.event_name == 'workflow_dispatch'
uses: softprops/action-gh-release@v2
with:
tag_name: dev
files: |
dist/*.sha256
dist/*.pkg
body: "Development build from ${{ github.sha }}"
prerelease: true
token: ${{ secrets.GITHUB_TOKEN }}
macos10: macos10:
strategy: strategy:
@ -322,9 +369,20 @@ jobs:
dist/*.pkg dist/*.pkg
body_path: changelog.md body_path: changelog.md
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish Dev Release
if: github.event_name == 'workflow_dispatch'
uses: softprops/action-gh-release@v2
with:
tag_name: dev
files: |
dist/*.sha256
dist/*.pkg
body: "Development build from ${{ github.sha }}"
prerelease: true
token: ${{ secrets.GITHUB_TOKEN }}
updater: updater:
if: startsWith(github.ref, 'refs/tags/v') if: startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch'
needs: [windows, macos, windows7, macos10] needs: [windows, macos, windows7, macos10]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -335,17 +393,28 @@ jobs:
- name: Install Dependencies - name: Install Dependencies
run: pnpm install run: pnpm install
- name: Telegram Notification - name: Telegram Notification
if: startsWith(github.ref, 'refs/tags/v')
env: env:
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
run: pnpm telegram run: pnpm telegram
- name: Generate latest.yml - name: Generate latest.yml
run: pnpm updater run: pnpm updater
- name: Publish Release - name: Publish Release
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
with: with:
files: latest.yml files: latest.yml
body_path: changelog.md body_path: changelog.md
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish Dev Release
if: github.event_name == 'workflow_dispatch'
uses: softprops/action-gh-release@v2
with:
tag_name: dev
files: latest.yml
body: "Development build updater from ${{ github.sha }}"
prerelease: true
token: ${{ secrets.GITHUB_TOKEN }}
aur-release-updater: aur-release-updater:
strategy: strategy: