Skip to content

Commit d1f1b4b

Browse files
committed
fix: update download URL to use the release tag name
1 parent 8e225a1 commit d1f1b4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,11 +230,11 @@ jobs:
230230
git branch -u origin/master
231231
git pull origin master
232232
233-
- name: Replace download url to the NPM latest version
233+
- name: Replace download url to the releasing version
234234
if: github.event.release.prerelease == false
235235
uses: ./.github/actions/replace-path-url
236236
with:
237-
version: ${{ steps.get_latest_version_after_publish.outputs.LATEST_VERSION }}
237+
version: ${{ github.event.release.tag_name }}
238238

239239
- name: Commit and push changes
240240
if: github.event.release.prerelease == false

0 commit comments

Comments
 (0)