Skip to content

Commit 59718da

Browse files
committed
chore: fix GH release
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
1 parent 1f3c1f4 commit 59718da

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,18 +295,19 @@ jobs:
295295
"$DIST_DIR/bom.json"
296296
- name: Create Release
297297
env:
298-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
298+
GH_REPO: ${{ github.repository }}
299+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
299300
R_PRERELEASE: ${{ github.event.inputs.prerelease }}
300301
R_TITLE: ${{ needs.bump.outputs.version_plain }}
301-
R_VERSION: ${{ needs.bump.outputs.version }}
302+
R_TAG: ${{ needs.bump.outputs.version }}
302303
run: |
303304
set -exu
304305
prerelease_flag=""
305306
if [ "$R_PRERELEASE" = "true" ]; then
306307
prerelease_flag="--prerelease"
307308
fi
308309
gh release create \
309-
"$R_VERSION" \
310+
"$R_TAG" --verify-tag \
310311
$prerelease_flag \
311312
--title "$R_TITLE" \
312313
--notes "" \

0 commit comments

Comments
 (0)