Skip to content

Commit 7471913

Browse files
adamfweidmanjk-kashe
authored andcommitted
Revert "chore: wire a2a-server up for publishing" (google-gemini#11064)
1 parent 38d4d90 commit 7471913

File tree

9 files changed

+2
-47
lines changed

9 files changed

+2
-47
lines changed

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

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ inputs:
1414
wombat-token-cli:
1515
description: 'The npm token for the @google/gemini-cli package.'
1616
required: true
17-
wombat-token-a2a-server:
18-
description: 'The npm token for the @google/gemini-cli-a2a-server package.'
19-
required: true
2017
github-token:
2118
description: 'The GitHub token for creating the release.'
2219
required: true
@@ -172,7 +169,6 @@ runs:
172169
run: |
173170
npm install "@google/gemini-cli-core@${{ inputs.release-version }}" \
174171
--workspace="@google/gemini-cli" \
175-
--workspace="@google/gemini-cli-a2a-server" \
176172
--save-exact
177173
178174
- name: '📦 Publish @google/gemini-cli to npm'
@@ -200,19 +196,6 @@ runs:
200196
--workspace="@google-gemini/gemini-cli" \
201197
--no-tag
202198
203-
- name: '📦 Publish @google/gemini-cli-a2a-server'
204-
if: "inputs.registry != 'github'"
205-
working-directory: '${{ inputs.working-directory }}'
206-
env:
207-
NODE_AUTH_TOKEN: '${{ inputs.wombat-token-a2a-server }}'
208-
shell: 'bash'
209-
run: |
210-
if [ "${{ inputs.dry-run }}" == "true" ]; then
211-
npm publish --dry-run --workspace="@google/gemini-cli-a2a-server" --no-tag
212-
else
213-
npm publish --workspace="@google/gemini-cli-a2a-server" --no-tag
214-
fi
215-
216199
- name: '🔬 Verify NPM release by version'
217200
uses: './.github/actions/verify-release'
218201
if: "${{ inputs.dry-run != 'true' && inputs.force-skip-tests != 'true' && inputs.registry != 'github' }}"
@@ -231,7 +214,6 @@ runs:
231214
dry-run: '${{ inputs.dry-run }}'
232215
wombat-token-core: '${{ inputs.wombat-token-core }}'
233216
wombat-token-cli: '${{ inputs.wombat-token-cli }}'
234-
wombat-token-a2a-server: '${{ inputs.wombat-token-a2a-server }}'
235217

236218
- name: '🎉 Create GitHub Release'
237219
working-directory: '${{ inputs.working-directory }}'

.github/actions/tag-npm-release/action.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ inputs:
1717
wombat-token-cli:
1818
description: 'The npm token for wombat @google/gemini-cli'
1919
required: true
20-
wombat-token-a2a-server:
21-
description: 'The npm token for the @google/gemini-cli-a2a-server package.'
22-
required: true
2320

2421
runs:
2522
using: 'composite'
@@ -55,18 +52,9 @@ runs:
5552
run: |
5653
npm dist-tag add @google/gemini-cli@${{ inputs.version }} ${{ inputs.channel }}
5754
58-
- name: 'Change tag for @google/gemini-cli-a2a-server'
59-
if: |-
60-
${{ inputs.dry-run == 'false' }}
61-
env:
62-
NODE_AUTH_TOKEN: '${{ inputs.wombat-token-a2a-server }}'
63-
shell: 'bash'
64-
run: |
65-
npm dist-tag add @google/gemini-cli-a2a-server@${{ inputs.version }} ${{ inputs.channel }}
66-
6755
- name: 'Log dry run'
6856
if: |-
6957
${{ inputs.dry-run == 'true' }}
7058
shell: 'bash'
7159
run: |
72-
echo "Dry run: Would have added tag '${{ inputs.channel }}' to version '${{ inputs.version }}' for @google/gemini-cli, @google/gemini-cli-core, and @google/gemini-cli-a2a-server."
60+
echo "Dry run: Would have added tag '${{ inputs.channel }}' to version '${{ inputs.version }}' for @google/gemini-cli and @google/gemini-cli-core."

.github/workflows/release-change-tags.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,3 @@ jobs:
5454
dry-run: '${{ github.event.inputs.dry-run }}'
5555
wombat-token-core: '${{ secrets.WOMBAT_TOKEN_CORE }}'
5656
wombat-token-cli: '${{ secrets.WOMBAT_TOKEN_CLI }}'
57-
wombat-token-a2a-server: '${{ secrets.WOMBAT_TOKEN_A2A_SERVER }}'

.github/workflows/release-manual.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ jobs:
104104
npm-tag: '${{ github.event.inputs.npm_channel }}'
105105
wombat-token-core: '${{ secrets.WOMBAT_TOKEN_CORE }}'
106106
wombat-token-cli: '${{ secrets.WOMBAT_TOKEN_CLI }}'
107-
wombat-token-a2a-server: '${{ secrets.WOMBAT_TOKEN_A2A_SERVER }}'
108107
github-token: '${{ secrets.GITHUB_TOKEN }}'
109108
dry-run: '${{ github.event.inputs.dry_run }}'
110109
previous-tag: '${{ steps.release_info.outputs.PREVIOUS_TAG }}'

.github/workflows/release-nightly.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ jobs:
112112
npm-tag: '${{ steps.nightly_version.outputs.NPM_TAG }}'
113113
wombat-token-core: '${{ secrets.WOMBAT_TOKEN_CORE }}'
114114
wombat-token-cli: '${{ secrets.WOMBAT_TOKEN_CLI }}'
115-
wombat-token-a2a-server: '${{ secrets.WOMBAT_TOKEN_A2A_SERVER }}'
116115
github-token: '${{ secrets.GITHUB_TOKEN }}'
117116
dry-run: '${{ steps.vars.outputs.is_dry_run }}'
118117
previous-tag: '${{ steps.nightly_version.outputs.PREVIOUS_TAG }}'

.github/workflows/release-patch-3-release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ jobs:
159159
npm-tag: '${{ steps.patch_version.outputs.NPM_TAG }}'
160160
wombat-token-core: '${{ secrets.WOMBAT_TOKEN_CORE }}'
161161
wombat-token-cli: '${{ secrets.WOMBAT_TOKEN_CLI }}'
162-
wombat-token-a2a-server: '${{ secrets.WOMBAT_TOKEN_A2A_SERVER }}'
163162
github-token: '${{ secrets.GITHUB_TOKEN }}'
164163
dry-run: '${{ github.event.inputs.dry_run }}'
165164
previous-tag: '${{ steps.patch_version.outputs.PREVIOUS_TAG }}'

.github/workflows/release-promote.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ jobs:
204204
npm-tag: 'preview'
205205
wombat-token-core: '${{ secrets.WOMBAT_TOKEN_CORE }}'
206206
wombat-token-cli: '${{ secrets.WOMBAT_TOKEN_CLI }}'
207-
wombat-token-a2a-server: '${{ secrets.WOMBAT_TOKEN_A2A_SERVER }}'
208207
github-token: '${{ secrets.GITHUB_TOKEN }}'
209208
dry-run: '${{ github.event.inputs.dry_run }}'
210209
previous-tag: '${{ needs.calculate-versions.outputs.PREVIOUS_PREVIEW_TAG }}'
@@ -263,7 +262,6 @@ jobs:
263262
npm-tag: 'latest'
264263
wombat-token-core: '${{ secrets.WOMBAT_TOKEN_CORE }}'
265264
wombat-token-cli: '${{ secrets.WOMBAT_TOKEN_CLI }}'
266-
wombat-token-a2a-server: '${{ secrets.WOMBAT_TOKEN_A2A_SERVER }}'
267265
github-token: '${{ secrets.GITHUB_TOKEN }}'
268266
dry-run: '${{ github.event.inputs.dry_run }}'
269267
previous-tag: '${{ needs.calculate-versions.outputs.PREVIOUS_STABLE_TAG }}'

.github/workflows/release-rollback.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ jobs:
7676
dry-run: '${{ github.event.inputs.dry-run }}'
7777
wombat-token-core: '${{ secrets.WOMBAT_TOKEN_CORE }}'
7878
wombat-token-cli: '${{ secrets.WOMBAT_TOKEN_CLI }}'
79-
wombat-token-a2a-server: '${{ secrets.WOMBAT_TOKEN_A2A_SERVER }}'
8079

8180
- name: 'Deprecate Cli Npm Package'
8281
if: "${{ github.event.inputs.dry-run == 'false' }}"
@@ -94,14 +93,6 @@ jobs:
9493
run: |
9594
npm deprecate @google/gemini-core@${{ github.event.inputs.rollback_origin }} "This version has been rolled back."
9695
97-
- name: 'Deprecate A2A Server Npm Package'
98-
if: "${{ github.event.inputs.dry-run == 'false' }}"
99-
env:
100-
NODE_AUTH_TOKEN: '${{ secrets.WOMBAT_TOKEN_A2A_SERVER }}'
101-
shell: 'bash'
102-
run: |
103-
npm deprecate @google/gemini-cli-a2a-server@${{ github.event.inputs.rollback_origin }} "This version has been rolled back."
104-
10596
- name: 'Delete Github Release'
10697
if: "${{ github.event.inputs.dry-run == 'false' }}"
10798
env:

packages/a2a-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"directory": "packages/a2a-server"
99
},
1010
"type": "module",
11-
"main": "dist/server.js",
11+
"main": "dist/index.js",
1212
"bin": {
1313
"gemini-cli-a2a-server": "dist/a2a-server.mjs"
1414
},

0 commit comments

Comments
 (0)