Skip to content

Commit 3c9a64f

Browse files
authored
Merge pull request #2722 from kubernetes-client/max/define-tag-for-older-branches
ci: define a tag for a patch release
2 parents eb93de0 + 7f6c740 commit 3c9a64f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ jobs:
4848
run: npm install -g npm@11.5.1
4949
- name: Upload release
5050
if: ${{ github.event.inputs.dry_run != 'true' && github.event.inputs.pre_release != 'true' }}
51-
run: npm publish
51+
run: npm publish --tag patch-${{ github.event.inputs.releaseVersion }}
52+
5253
- name: Upload pre-release
5354
if: ${{ github.event.inputs.dry_run != 'true' && github.event.inputs.pre_release == 'true' }}
5455
run: npm publish --tag next

0 commit comments

Comments
 (0)