mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-10 01:50:20 -07:00
fixing url parsing
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
feat: Refactor release process for bundling
|
||||
|
||||
This change refactors the release process to support a new bundle-based publishing method while maintaining backward compatibility for existing release and patch workflows.
|
||||
|
||||
Key changes:
|
||||
- The `publish-release` composite action now includes a `use-bundle-release` input (string, default 'false') to conditionally switch between the old source-based publishing and the new bundle-based method.
|
||||
- The `release-nightly.yml` workflow is updated to use the new bundle-based process (`use-bundle-release: 'true'`).
|
||||
- The `release-manual.yml` workflow includes a new `use_bundle_release` input (defaulting to false) to allow for manual testing of either release method.
|
||||
- Existing `release-promote.yml` and patch workflows remain unchanged, ensuring they continue to use the old, non-bundled process for backward compatibility.
|
||||
@@ -119,9 +119,9 @@ function setupProd() {
|
||||
const lines = npmrcContent.split('\n');
|
||||
const filteredLines = lines.filter(
|
||||
(line) =>
|
||||
!line.includes('npm.pkg.github.com') &&
|
||||
!line.includes('@google-gemini:registry') &&
|
||||
!line.includes('# Added by gemini-cli'),
|
||||
!line.trim().startsWith('//npm.pkg.github.com/') &&
|
||||
!line.trim().startsWith('@google-gemini:registry') &&
|
||||
!line.trim().startsWith('# Added by gemini-cli'),
|
||||
);
|
||||
|
||||
if (lines.length === filteredLines.length) {
|
||||
|
||||
Reference in New Issue
Block a user