Skip to content

fix: resolve Cloud Build invalid argument errors for substitutions - #1929

Merged
inlined merged 4 commits into
masterfrom
inlined.fixup-script
Jul 16, 2026
Merged

fix: resolve Cloud Build invalid argument errors for substitutions#1929
inlined merged 4 commits into
masterfrom
inlined.fixup-script

Conversation

@inlined

@inlined inlined commented Jul 16, 2026

Copy link
Copy Markdown
Member

Description

Fixes Cloud Build substitution errors when running prerelease/force deploys.
Also had to change a GitHub repository setting to make sure the commit message is the PR description. The previous relnotes were lost and are added back here.

Release Notes

relnote: fix: Remove false warning when using Expression in cors option (#1802)
relnote: feat: Add requiresRole developer API for declarative security support and automatic Manifest extraction (#1908)
relnote: Validate literal timeoutSeconds values per v2 trigger type (0-540s for events, 0-3600s for HTTPS/callable, 0-1800s for task queues, 0-7s for identity functions) so misconfigured values fail at function-definition or manifest-extraction time instead of at deploy time. (#1877)
relnote: feat: Add requiresAPI function to allow declaring Google Cloud API dependencies in code. (#1900)
relnote: fix(v1): Call onInit for schedule.onRun functions (#1801)
relnote: feat: Add support to declare lifecycle hooks in functions. (#1915)
relnote: fix(cors): Fix issue using Params to set CORS allowed hosts (#1903)
relnote: fix(v2): Fix event data unpacking for auth event triggers (#1923)
relnote: feat: Add "v2/lifecycle" and "lifecycle" import paths for lifecycle hooks (#1926)
relnote: chore: revamp deploy pipeline to be stateless. Changes must now include relnotes
relnote: chore: move the last encrypted keys into Google Cloud Secrets Manager

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors the parameter mapping and evaluation logic in scripts/publish.sh and scripts/publish/cloudbuild.yaml to pass boolean flags explicitly. However, during this refactoring, the --branch parameter was accidentally removed from the execution step in cloudbuild.yaml. This omission will break branch-specific releases, and it should be restored using the new evaluation pattern as suggested.

Comment thread scripts/publish/cloudbuild.yaml

@shettyvarun268 shettyvarun268 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@inlined
inlined merged commit 642d901 into master Jul 16, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants