From 07f0b0a541241838cfa5e82ac54239a4d4d1c5ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?1024=E5=B0=8F=E7=A5=9E?= <15670339118@163.com> Date: Fri, 29 Nov 2024 14:16:41 +0800 Subject: [PATCH] update version --- .github/workflows/build.yml | 11 ++++++++++- Note.md | 17 +++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 Note.md diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d0caa79e..42199921 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -82,13 +82,22 @@ jobs: # If you don't have `beforeBuildCommand` configured you may want to build your frontend here too. run: pnpm install # change this to npm or pnpm depending on which one you use. + # Step 3: 读取 Note.md 的内容 + - name: Read Note.md content + id: read-note + run: | + content=$(cat Note.md) + echo "note_body<> $GITHUB_ENV + echo "$content" >> $GITHUB_ENV + echo "EOF" >> $GITHUB_ENV + - uses: tauri-apps/tauri-action@v0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tagName: ${{ github.ref_name }} # This only works if your workflow triggers on new tags. releaseName: 'PakePlus v__VERSION__' # tauri-action replaces \_\_VERSION\_\_ with the app version. - releaseBody: 'This is a workflow to help you automate the publishing of your PakePlus project to GitHub Packages.' + body: ${{ env.note_body }} releaseDraft: false prerelease: false publish: true diff --git a/Note.md b/Note.md new file mode 100644 index 00000000..eb89c194 --- /dev/null +++ b/Note.md @@ -0,0 +1,17 @@ +## 我应该下载哪个版本? + +### MacOS + +- MacOS intel 芯片: x64.dmg +- MacOS apple M 芯片: aarch64.dmg + +### Linux + +- Linux 64 位: amd64.deb/amd64.rpm +- Linux arm64 architecture: arm64.deb/aarch64.rpm +- Linux armv7 架构: armhf.deb/armhfp.rpm + +### Windows + +- 64 位: x64-setup.exe +- arm64 架构: arm64-setup.exe