fixing url parsing

This commit is contained in:
mkorwel
2025-10-22 12:16:45 -07:00
parent 8a1d905fd6
commit a9834cc6c3
2 changed files with 3 additions and 12 deletions
-9
View File
@@ -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.
+3 -3
View File
@@ -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) {