Skip to content

Commit 12835bd

Browse files
committed
Version name
1 parent af0fe82 commit 12835bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
id: lookupVersion
3232
uses: mikefarah/yq@bbdd97482f2d439126582a59689eb1c855944955
3333
with:
34-
cmd: yq -oy '"v" + .workspace.package.version' 'Cargo.toml'
34+
cmd: yq -oy '.workspace.package.version' 'Cargo.toml'
3535

3636
- name: Get version from the latest releases
3737
id: lookupVersionRelease
@@ -121,14 +121,14 @@ jobs:
121121
changelog: CHANGELOG.md
122122
allow-missing-changelog: false
123123
title: $version
124-
ref: refs/tags/${{ needs.verify-version.outputs.version }}
124+
ref: refs/tags/v${{ needs.verify-version.outputs.version }}
125125

126126
- name: Upload artifacts to the release
127127
working-directory: artifacts
128128
run: gh release upload "$TAG" *
129129
env:
130130
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
131-
TAG: ${{ steps.create-release.outputs.computed-prefix }}${{ steps.create-release.outputs.version }}
131+
TAG: ${{ steps.create-release.outputs.computed-prefix }}v${{ steps.create-release.outputs.version }}
132132

133133
publish-snforge-scarb-plugin:
134134
name: Publish snforge_scarb_plugin

0 commit comments

Comments
 (0)