Skip to content

Commit 0195929

Browse files
authored
Update gh-release.yml
1 parent b606001 commit 0195929

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/gh-release.yml

+2-7
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,13 @@ jobs:
4848
- name: install frontend dependencies
4949
run: bun install --frozen-lockfile # change this to npm, pnpm or bun depending on which one you use.
5050

51-
- name: Get current date
52-
env:
53-
TZ: 'Asia/Tokyo'
54-
id: date
55-
run: echo "RELEASE_DATE=$(date +'%Y.%m.%d')" >> $GITHUB_ENV
5651

5752
- uses: tauri-apps/tauri-action@v0
5853
env:
5954
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6055
with:
61-
tagName: ${{ env.RELEASE_DATE }}
62-
releaseName: 'Version: ${{ env.RELEASE_DATE }}'
56+
tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version.
57+
releaseName: 'App v__VERSION__'
6358
releaseBody: 'See the assets to download this version and install.'
6459
releaseDraft: true
6560
prerelease: false

0 commit comments

Comments
 (0)