You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.
My gut feeling is that having to perform commits back to the repo is annoying and adds an extra level of possible failure/state mismatch. Also ideally you would need the least credentials possible, such as no GitHub master commit credentials sitting on CI.
However one challenge/problem with this is that you probably want to support Release Notes either via GitHub's releases feature or a CHANGELOG.md. In theory you could "build" a CHANGELOG.md entry into each npm release without the version being committed to master, but the reality is that npm doesn't provide an easy way to read these, so most people won't.
One other thing to consider: release notes may and often are edited post-release. So that's another downside of bundling a dynamically generated CHANGELOG.md with the npm release.
Making CHANGELOG.md edits as a PR is an interesting concept I hadn't considered before. It's advantage is allowing humans to first edit the auto-generated changelog prior to committing to master. But I wonder if all that human intervention will be welcomed.
By the way, both npmjs as well as GitHub releases support the concept of linking to the "gitRef" dynamically, so "tracking version in commits" is possible that way. Also semantic release does a good job of tagging too, so I never have a problem working out which commit a version refers to.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey 馃憢,
I would love to get some feedback on what your preferred way of versioning is. To my understanding, there are two major versioning options:
package.json
file of each workspace, orsemantic-release
way).in-project
pros
cons
on-the-go
pros
cons
0.0.0-semantha
all the time because ofyarn workspaces
,What do you think? 馃檪
The text was updated successfully, but these errors were encountered: