mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-30 15:04:16 -07:00
Revert "chore: wire a2a-server up for publishing" (#11064)
This commit is contained in:
@@ -14,9 +14,6 @@ inputs:
|
|||||||
wombat-token-cli:
|
wombat-token-cli:
|
||||||
description: 'The npm token for the @google/gemini-cli package.'
|
description: 'The npm token for the @google/gemini-cli package.'
|
||||||
required: true
|
required: true
|
||||||
wombat-token-a2a-server:
|
|
||||||
description: 'The npm token for the @google/gemini-cli-a2a-server package.'
|
|
||||||
required: true
|
|
||||||
github-token:
|
github-token:
|
||||||
description: 'The GitHub token for creating the release.'
|
description: 'The GitHub token for creating the release.'
|
||||||
required: true
|
required: true
|
||||||
@@ -172,7 +169,6 @@ runs:
|
|||||||
run: |
|
run: |
|
||||||
npm install "@google/gemini-cli-core@${{ inputs.release-version }}" \
|
npm install "@google/gemini-cli-core@${{ inputs.release-version }}" \
|
||||||
--workspace="@google/gemini-cli" \
|
--workspace="@google/gemini-cli" \
|
||||||
--workspace="@google/gemini-cli-a2a-server" \
|
|
||||||
--save-exact
|
--save-exact
|
||||||
|
|
||||||
- name: '📦 Publish @google/gemini-cli to npm'
|
- name: '📦 Publish @google/gemini-cli to npm'
|
||||||
@@ -200,19 +196,6 @@ runs:
|
|||||||
--workspace="@google-gemini/gemini-cli" \
|
--workspace="@google-gemini/gemini-cli" \
|
||||||
--no-tag
|
--no-tag
|
||||||
|
|
||||||
- name: '📦 Publish @google/gemini-cli-a2a-server'
|
|
||||||
if: "inputs.registry != 'github'"
|
|
||||||
working-directory: '${{ inputs.working-directory }}'
|
|
||||||
env:
|
|
||||||
NODE_AUTH_TOKEN: '${{ inputs.wombat-token-a2a-server }}'
|
|
||||||
shell: 'bash'
|
|
||||||
run: |
|
|
||||||
if [ "${{ inputs.dry-run }}" == "true" ]; then
|
|
||||||
npm publish --dry-run --workspace="@google/gemini-cli-a2a-server" --no-tag
|
|
||||||
else
|
|
||||||
npm publish --workspace="@google/gemini-cli-a2a-server" --no-tag
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: '🔬 Verify NPM release by version'
|
- name: '🔬 Verify NPM release by version'
|
||||||
uses: './.github/actions/verify-release'
|
uses: './.github/actions/verify-release'
|
||||||
if: "${{ inputs.dry-run != 'true' && inputs.force-skip-tests != 'true' && inputs.registry != 'github' }}"
|
if: "${{ inputs.dry-run != 'true' && inputs.force-skip-tests != 'true' && inputs.registry != 'github' }}"
|
||||||
@@ -231,7 +214,6 @@ runs:
|
|||||||
dry-run: '${{ inputs.dry-run }}'
|
dry-run: '${{ inputs.dry-run }}'
|
||||||
wombat-token-core: '${{ inputs.wombat-token-core }}'
|
wombat-token-core: '${{ inputs.wombat-token-core }}'
|
||||||
wombat-token-cli: '${{ inputs.wombat-token-cli }}'
|
wombat-token-cli: '${{ inputs.wombat-token-cli }}'
|
||||||
wombat-token-a2a-server: '${{ inputs.wombat-token-a2a-server }}'
|
|
||||||
|
|
||||||
- name: '🎉 Create GitHub Release'
|
- name: '🎉 Create GitHub Release'
|
||||||
working-directory: '${{ inputs.working-directory }}'
|
working-directory: '${{ inputs.working-directory }}'
|
||||||
|
|||||||
@@ -17,9 +17,6 @@ inputs:
|
|||||||
wombat-token-cli:
|
wombat-token-cli:
|
||||||
description: 'The npm token for wombat @google/gemini-cli'
|
description: 'The npm token for wombat @google/gemini-cli'
|
||||||
required: true
|
required: true
|
||||||
wombat-token-a2a-server:
|
|
||||||
description: 'The npm token for the @google/gemini-cli-a2a-server package.'
|
|
||||||
required: true
|
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
@@ -55,18 +52,9 @@ runs:
|
|||||||
run: |
|
run: |
|
||||||
npm dist-tag add @google/gemini-cli@${{ inputs.version }} ${{ inputs.channel }}
|
npm dist-tag add @google/gemini-cli@${{ inputs.version }} ${{ inputs.channel }}
|
||||||
|
|
||||||
- name: 'Change tag for @google/gemini-cli-a2a-server'
|
|
||||||
if: |-
|
|
||||||
${{ inputs.dry-run == 'false' }}
|
|
||||||
env:
|
|
||||||
NODE_AUTH_TOKEN: '${{ inputs.wombat-token-a2a-server }}'
|
|
||||||
shell: 'bash'
|
|
||||||
run: |
|
|
||||||
npm dist-tag add @google/gemini-cli-a2a-server@${{ inputs.version }} ${{ inputs.channel }}
|
|
||||||
|
|
||||||
- name: 'Log dry run'
|
- name: 'Log dry run'
|
||||||
if: |-
|
if: |-
|
||||||
${{ inputs.dry-run == 'true' }}
|
${{ inputs.dry-run == 'true' }}
|
||||||
shell: 'bash'
|
shell: 'bash'
|
||||||
run: |
|
run: |
|
||||||
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."
|
echo "Dry run: Would have added tag '${{ inputs.channel }}' to version '${{ inputs.version }}' for @google/gemini-cli and @google/gemini-cli-core."
|
||||||
|
|||||||
@@ -54,4 +54,3 @@ jobs:
|
|||||||
dry-run: '${{ github.event.inputs.dry-run }}'
|
dry-run: '${{ github.event.inputs.dry-run }}'
|
||||||
wombat-token-core: '${{ secrets.WOMBAT_TOKEN_CORE }}'
|
wombat-token-core: '${{ secrets.WOMBAT_TOKEN_CORE }}'
|
||||||
wombat-token-cli: '${{ secrets.WOMBAT_TOKEN_CLI }}'
|
wombat-token-cli: '${{ secrets.WOMBAT_TOKEN_CLI }}'
|
||||||
wombat-token-a2a-server: '${{ secrets.WOMBAT_TOKEN_A2A_SERVER }}'
|
|
||||||
|
|||||||
@@ -104,7 +104,6 @@ jobs:
|
|||||||
npm-tag: '${{ github.event.inputs.npm_channel }}'
|
npm-tag: '${{ github.event.inputs.npm_channel }}'
|
||||||
wombat-token-core: '${{ secrets.WOMBAT_TOKEN_CORE }}'
|
wombat-token-core: '${{ secrets.WOMBAT_TOKEN_CORE }}'
|
||||||
wombat-token-cli: '${{ secrets.WOMBAT_TOKEN_CLI }}'
|
wombat-token-cli: '${{ secrets.WOMBAT_TOKEN_CLI }}'
|
||||||
wombat-token-a2a-server: '${{ secrets.WOMBAT_TOKEN_A2A_SERVER }}'
|
|
||||||
github-token: '${{ secrets.GITHUB_TOKEN }}'
|
github-token: '${{ secrets.GITHUB_TOKEN }}'
|
||||||
dry-run: '${{ github.event.inputs.dry_run }}'
|
dry-run: '${{ github.event.inputs.dry_run }}'
|
||||||
previous-tag: '${{ steps.release_info.outputs.PREVIOUS_TAG }}'
|
previous-tag: '${{ steps.release_info.outputs.PREVIOUS_TAG }}'
|
||||||
|
|||||||
@@ -112,7 +112,6 @@ jobs:
|
|||||||
npm-tag: '${{ steps.nightly_version.outputs.NPM_TAG }}'
|
npm-tag: '${{ steps.nightly_version.outputs.NPM_TAG }}'
|
||||||
wombat-token-core: '${{ secrets.WOMBAT_TOKEN_CORE }}'
|
wombat-token-core: '${{ secrets.WOMBAT_TOKEN_CORE }}'
|
||||||
wombat-token-cli: '${{ secrets.WOMBAT_TOKEN_CLI }}'
|
wombat-token-cli: '${{ secrets.WOMBAT_TOKEN_CLI }}'
|
||||||
wombat-token-a2a-server: '${{ secrets.WOMBAT_TOKEN_A2A_SERVER }}'
|
|
||||||
github-token: '${{ secrets.GITHUB_TOKEN }}'
|
github-token: '${{ secrets.GITHUB_TOKEN }}'
|
||||||
dry-run: '${{ steps.vars.outputs.is_dry_run }}'
|
dry-run: '${{ steps.vars.outputs.is_dry_run }}'
|
||||||
previous-tag: '${{ steps.nightly_version.outputs.PREVIOUS_TAG }}'
|
previous-tag: '${{ steps.nightly_version.outputs.PREVIOUS_TAG }}'
|
||||||
|
|||||||
@@ -159,7 +159,6 @@ jobs:
|
|||||||
npm-tag: '${{ steps.patch_version.outputs.NPM_TAG }}'
|
npm-tag: '${{ steps.patch_version.outputs.NPM_TAG }}'
|
||||||
wombat-token-core: '${{ secrets.WOMBAT_TOKEN_CORE }}'
|
wombat-token-core: '${{ secrets.WOMBAT_TOKEN_CORE }}'
|
||||||
wombat-token-cli: '${{ secrets.WOMBAT_TOKEN_CLI }}'
|
wombat-token-cli: '${{ secrets.WOMBAT_TOKEN_CLI }}'
|
||||||
wombat-token-a2a-server: '${{ secrets.WOMBAT_TOKEN_A2A_SERVER }}'
|
|
||||||
github-token: '${{ secrets.GITHUB_TOKEN }}'
|
github-token: '${{ secrets.GITHUB_TOKEN }}'
|
||||||
dry-run: '${{ github.event.inputs.dry_run }}'
|
dry-run: '${{ github.event.inputs.dry_run }}'
|
||||||
previous-tag: '${{ steps.patch_version.outputs.PREVIOUS_TAG }}'
|
previous-tag: '${{ steps.patch_version.outputs.PREVIOUS_TAG }}'
|
||||||
|
|||||||
@@ -204,7 +204,6 @@ jobs:
|
|||||||
npm-tag: 'preview'
|
npm-tag: 'preview'
|
||||||
wombat-token-core: '${{ secrets.WOMBAT_TOKEN_CORE }}'
|
wombat-token-core: '${{ secrets.WOMBAT_TOKEN_CORE }}'
|
||||||
wombat-token-cli: '${{ secrets.WOMBAT_TOKEN_CLI }}'
|
wombat-token-cli: '${{ secrets.WOMBAT_TOKEN_CLI }}'
|
||||||
wombat-token-a2a-server: '${{ secrets.WOMBAT_TOKEN_A2A_SERVER }}'
|
|
||||||
github-token: '${{ secrets.GITHUB_TOKEN }}'
|
github-token: '${{ secrets.GITHUB_TOKEN }}'
|
||||||
dry-run: '${{ github.event.inputs.dry_run }}'
|
dry-run: '${{ github.event.inputs.dry_run }}'
|
||||||
previous-tag: '${{ needs.calculate-versions.outputs.PREVIOUS_PREVIEW_TAG }}'
|
previous-tag: '${{ needs.calculate-versions.outputs.PREVIOUS_PREVIEW_TAG }}'
|
||||||
@@ -263,7 +262,6 @@ jobs:
|
|||||||
npm-tag: 'latest'
|
npm-tag: 'latest'
|
||||||
wombat-token-core: '${{ secrets.WOMBAT_TOKEN_CORE }}'
|
wombat-token-core: '${{ secrets.WOMBAT_TOKEN_CORE }}'
|
||||||
wombat-token-cli: '${{ secrets.WOMBAT_TOKEN_CLI }}'
|
wombat-token-cli: '${{ secrets.WOMBAT_TOKEN_CLI }}'
|
||||||
wombat-token-a2a-server: '${{ secrets.WOMBAT_TOKEN_A2A_SERVER }}'
|
|
||||||
github-token: '${{ secrets.GITHUB_TOKEN }}'
|
github-token: '${{ secrets.GITHUB_TOKEN }}'
|
||||||
dry-run: '${{ github.event.inputs.dry_run }}'
|
dry-run: '${{ github.event.inputs.dry_run }}'
|
||||||
previous-tag: '${{ needs.calculate-versions.outputs.PREVIOUS_STABLE_TAG }}'
|
previous-tag: '${{ needs.calculate-versions.outputs.PREVIOUS_STABLE_TAG }}'
|
||||||
|
|||||||
@@ -76,7 +76,6 @@ jobs:
|
|||||||
dry-run: '${{ github.event.inputs.dry-run }}'
|
dry-run: '${{ github.event.inputs.dry-run }}'
|
||||||
wombat-token-core: '${{ secrets.WOMBAT_TOKEN_CORE }}'
|
wombat-token-core: '${{ secrets.WOMBAT_TOKEN_CORE }}'
|
||||||
wombat-token-cli: '${{ secrets.WOMBAT_TOKEN_CLI }}'
|
wombat-token-cli: '${{ secrets.WOMBAT_TOKEN_CLI }}'
|
||||||
wombat-token-a2a-server: '${{ secrets.WOMBAT_TOKEN_A2A_SERVER }}'
|
|
||||||
|
|
||||||
- name: 'Deprecate Cli Npm Package'
|
- name: 'Deprecate Cli Npm Package'
|
||||||
if: "${{ github.event.inputs.dry-run == 'false' }}"
|
if: "${{ github.event.inputs.dry-run == 'false' }}"
|
||||||
@@ -94,14 +93,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
npm deprecate @google/gemini-core@${{ github.event.inputs.rollback_origin }} "This version has been rolled back."
|
npm deprecate @google/gemini-core@${{ github.event.inputs.rollback_origin }} "This version has been rolled back."
|
||||||
|
|
||||||
- name: 'Deprecate A2A Server Npm Package'
|
|
||||||
if: "${{ github.event.inputs.dry-run == 'false' }}"
|
|
||||||
env:
|
|
||||||
NODE_AUTH_TOKEN: '${{ secrets.WOMBAT_TOKEN_A2A_SERVER }}'
|
|
||||||
shell: 'bash'
|
|
||||||
run: |
|
|
||||||
npm deprecate @google/gemini-cli-a2a-server@${{ github.event.inputs.rollback_origin }} "This version has been rolled back."
|
|
||||||
|
|
||||||
- name: 'Delete Github Release'
|
- name: 'Delete Github Release'
|
||||||
if: "${{ github.event.inputs.dry-run == 'false' }}"
|
if: "${{ github.event.inputs.dry-run == 'false' }}"
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
"directory": "packages/a2a-server"
|
"directory": "packages/a2a-server"
|
||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "dist/server.js",
|
"main": "dist/index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
"gemini-cli-a2a-server": "dist/a2a-server.mjs"
|
"gemini-cli-a2a-server": "dist/a2a-server.mjs"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user