Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove support for portal env variable #1329

Merged
merged 8 commits into from
Jan 10, 2025

Conversation

brandenrodgers
Copy link
Contributor

@brandenrodgers brandenrodgers commented Jan 10, 2025

Description and Context

Issue: #1327

In CLI release 7.0.0 we've moved away from referring to hubspot accounts as "portals" in favor of "account". This is a move that we've been slowly moving towards for a while now.

There was an issue with HUBSPOT_ACCOUNT_ID not working correctly that's fixed by HubSpot/hubspot-local-dev-lib#225

This also adds a message for folks who are still using HUBSPOT_PORTAL_ID

Screenshots

TODO

Who to Notify

@brandenrodgers
Copy link
Contributor Author

Ok Slight pivot, my latest changes make HUBSPOT_PORTAL_ID deprecated, but still supported. We have to continue to support this env variable because our HubSpot GH Deploy Action leverages it, and always uses the latest CLI version that's available.

This is what will show
image

camden11
camden11 previously approved these changes Jan 10, 2025
bin/cli.js Show resolved Hide resolved
joe-yeager
joe-yeager previously approved these changes Jan 10, 2025
Copy link
Contributor

@joe-yeager joe-yeager left a comment

Choose a reason for hiding this comment

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

LGTM!

bin/cli.js Outdated Show resolved Hide resolved
Copy link
Contributor

@kemmerle kemmerle left a comment

Choose a reason for hiding this comment

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

I like this approach to deprecating the portal ID environmental variable. LGTM!

@brandenrodgers brandenrodgers merged commit 021d153 into main Jan 10, 2025
1 check passed
@brandenrodgers brandenrodgers deleted the br/remove-support-for-portal-env branch January 10, 2025 19:21
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