Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
  • Loading branch information
ciocan committed Oct 24, 2023
1 parent ef62e81 commit 84fb8bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:

- name: get version
run: echo "PACKAGE_VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_ENV
- name: get product name
run: echo "PACKAGE_NAME=$(node -p "require('./src-tauri/tauri.conf.json').package.productName")" >> $GITHUB_ENV

- name: create release
id: create-release
Expand All @@ -45,7 +47,7 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
tag_name: `app-v${process.env.PACKAGE_VERSION}`,
name: `Desktop App v${process.env.PACKAGE_VERSION}`,
name: `${process.env.PACKAGE_NAME} v${process.env.PACKAGE_VERSION}`,
body: 'Take a look at the assets to download and install this app.',
draft: true,
prerelease: false
Expand Down

0 comments on commit 84fb8bf

Please sign in to comment.