+8
-1
.github/workflows/publish.yaml
+8
-1
.github/workflows/publish.yaml
···
66
# If you don't have `beforeBuildCommand` configured you may want to build your frontend here too.
67
run: bun install # change this to npm or pnpm depending on which one you use.
68
69
- uses: tauri-apps/tauri-action@v0
70
env:
71
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
···
74
with:
75
tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version.
76
releaseName: "App v__VERSION__"
77
-
releaseBody: "See the assets to download this version and install."
78
releaseDraft: true
79
prerelease: false
80
args: ${{ matrix.args }}
···
66
# If you don't have `beforeBuildCommand` configured you may want to build your frontend here too.
67
run: bun install # change this to npm or pnpm depending on which one you use.
68
69
+
- name: Load release notes
70
+
id: release_notes
71
+
run: |
72
+
echo "RELEASE_BODY<<EOF" >> $GITHUB_ENV
73
+
cat RELEASE_NOTES.md >> $GITHUB_ENV
74
+
echo "EOF" >> $GITHUB_ENV
75
+
76
- uses: tauri-apps/tauri-action@v0
77
env:
78
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
···
81
with:
82
tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version.
83
releaseName: "App v__VERSION__"
84
+
releaseBody: ${{ env.RELEASE_BODY }}
85
releaseDraft: true
86
prerelease: false
87
args: ${{ matrix.args }}