mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-13 07:30:52 -07:00
handle versions for nightly
This commit is contained in:
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@@ -93,10 +93,19 @@ jobs:
|
||||
git switch -c $BRANCH_NAME
|
||||
echo "BRANCH_NAME=${BRANCH_NAME}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Update package versions
|
||||
- name: Update package versions for stable release
|
||||
if: steps.version.outputs.NPM_TAG != 'nightly'
|
||||
run: |
|
||||
npm run release:version ${{ steps.version.outputs.RELEASE_VERSION }}
|
||||
|
||||
- name: Set package versions for nightly release
|
||||
if: steps.version.outputs.NPM_TAG == 'nightly'
|
||||
run: |
|
||||
npm pkg set version=${{ steps.version.outputs.RELEASE_VERSION }}
|
||||
npm pkg set version=${{ steps.version.outputs.RELEASE_VERSION }} --workspace=@google/gemini-cli
|
||||
npm pkg set version=${{ steps.version.outputs.RELEASE_VERSION }} --workspace=@google/gemini-cli-core
|
||||
npm install
|
||||
|
||||
- name: Commit package versions
|
||||
id: commit_step
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user