Skip to content

feat: remove custom tags feature and standardize release tags - #1954

Merged
inlined merged 3 commits into
masterfrom
update_firebase_build_tags
Sep 1, 2026
Merged

inlined merged 3 commits into
masterfrom
update_firebase_build_tags

Conversation

@inlined

@inlined inlined commented Sep 1, 2026

Copy link
Copy Markdown
Member

Description

Removes the custom --dist-tag option from the publish script and Cloud Build config. Prereleases are now tagged with next, and full releases are tagged with both latest and next.

Release notes

relnote: none

### Description
Removes the custom `--dist-tag` option from the publish script and pipeline. Prereleases are now tagged with `next`, and stable releases are tagged with both `latest` and `next`.

### Release notes
relnote: none

@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 simplifies the publishing process by removing the --dist-tag option from both the publish.sh script and the Cloud Build configuration. The script now directly determines the NPM distribution tag (next or latest) based on whether it is a prerelease. Additionally, error handling for unknown CLI arguments has been introduced. The feedback suggests redirecting the new error message to standard error (stderr) instead of standard output (stdout) to align with CLI best practices.

Comment thread scripts/publish.sh Outdated
Comment thread scripts/publish.sh
echo "🔍 [Dry Run] Skipping npm publish --tag next"
else
echo "🔍 [Dry Run] Skipping npm publish --tag latest"
echo "🔍 [Dry Run] Skipping npm dist-tag add ${PACKAGE_NAME}@${NEXT_VERSION} next"

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.

Do you still need this log referring to dist-tag? Not sure if related.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I'ts part of what would happen so it makes sense to keep it in the dry run.

@inlined
inlined merged commit 0d78dc2 into master Sep 1, 2026
26 checks passed
@inlined
inlined deleted the update_firebase_build_tags branch September 1, 2026 19:36
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.

4 participants