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

Get release version from package.json #46

Merged
merged 1 commit into from
Jul 5, 2022
Merged

Conversation

rickycodes
Copy link
Contributor

@rickycodes rickycodes commented Jun 28, 2022

re: MetaMask/core#858

working through the above I ran into an issue here because the way we're getting the version depends on the branch following release conventions eg: release/1.0.0

since we're planning on releasing from main now this needs to be updated so the version is coming not from the branch name. I think we should be treating .version in our package.json as the single source of truth for this.

fwiw this should be functionally equivalent (this change is backwards compatible).

@rickycodes rickycodes requested a review from a team as a code owner June 28, 2022 20:28
@rickycodes rickycodes requested review from Gudahtt and mcmire June 28, 2022 20:28
Copy link
Contributor

@mcmire mcmire left a comment

Choose a reason for hiding this comment

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

We could go further and have the index.js read from package.json, but that's not necessary for now. This change makes sense to me.

Copy link
Member

@rekmarks rekmarks left a comment

Choose a reason for hiding this comment

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

LGTM.

@rickycodes rickycodes merged commit 6959728 into main Jul 5, 2022
@rickycodes rickycodes deleted the feature/release-from-main branch July 5, 2022 14:58
@mcmire mcmire mentioned this pull request Jul 7, 2022
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