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

@W-14700593 | Remove commit hook logic that bumps patch version after every commit #297

Merged
merged 2 commits into from
Jan 29, 2024

Conversation

tarcang
Copy link
Contributor

@tarcang tarcang commented Dec 29, 2023

What does this PR do?

Removes updating the patch version every time a commit happens. In the past, this allowed for confusions in release versioning.

What issues does this PR fix or reference?

@W-14700593@

Note: I have investigated how to get rid of the minor version bump after pushing to main but I have realized that would require a bigger change in onPushToMain workflow than I expected. In the inherited workflow, the input option for "skip-version-file" for the https://github.com/TriPSs/conventional-changelog-action/commits?author=TriPSs that is used in the workflow is not exposed. This means instead of inheriting from the oclif github workflows, we had to copy paste the whole file just to add the "skip-version-file: true" tag. Seemed to much change since it would add a lot of maintenance overhead.

@@ -60,7 +60,7 @@ $ npm install -g @salesforce/commerce
$ sfdx COMMAND
running command...
$ sfdx (-v|--version|version)
@salesforce/commerce/250.0.0 darwin-x64 node-v18.16.1
@salesforce/commerce/250.1.0 darwin-x64 node-v18.16.1
Copy link
Contributor

Choose a reason for hiding this comment

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

Any reason to bump this version in read me?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It was supposed to bump earlier during release, yarn version didn't run in the pipeline

@Yuanchen-S Yuanchen-S self-requested a review January 3, 2024 20:42
@tarcang tarcang merged commit ceecea6 into develop Jan 29, 2024
13 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