diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d872457dab..6b5f581ccf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,7 +56,7 @@ jobs: script: | const tag = "${{ inputs.tag }}" || context.payload.release.tag_name; const [, major, minor] = tag.match(/^v([0-9]+)\.([0-9]+)/); - return (tag.includes('-') ? `${major}.${minor}${{steps.suffix.outputs.result}}` : 'latest'); + return (tag.includes('-') ? `${major}.${minor}-${{steps.suffix.outputs.result}}` : 'latest'); - name: Show NPM release tag run: |