Skip to content

Commit e16b219

Browse files
authored
build(release): restrict npm bundling to non-stable tags (google-gemini#21821)
1 parent 412a35d commit e16b219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/publish-release/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ runs:
193193
INPUTS_A2A_PACKAGE_NAME: '${{ inputs.a2a-package-name }}'
194194

195195
- name: '📦 Prepare bundled CLI for npm release'
196-
if: "inputs.npm-registry-url != 'https://npm.pkg.github.com/'"
196+
if: "inputs.npm-registry-url != 'https://npm.pkg.github.com/' && inputs.npm-tag != 'latest'"
197197
working-directory: '${{ inputs.working-directory }}'
198198
shell: 'bash'
199199
run: |

0 commit comments

Comments
 (0)