carlsberg / gh-releaser

GitHub CLI extension to simplify starting and closing releases in GitFlow-based projects.
MIT License
24 stars 2 forks source link

Deprecate update command #30

Open jcrqr opened 3 years ago

jcrqr commented 3 years ago

When I've introduced the gh releaser update command the idea behind it was to allow people to update the version of an open release on new changes pushed. After an offline discussion with a colleague we realized that this doesn't make sense because:

Considering the above points, I believe we should deprecate this command and don't support it anymore and, instead, advice people on the best practices for release management in projects that follow the git flow branching model.

Opinions are welcome.

cc @jsmvaldivia

jsmvaldivia commented 3 years ago

@crqra We can introduce the idea of creating release candidates first(tagging them accordingly) when using the opening command and then closing them on release close tagging them with a closed release version ready for production

jcrqr commented 3 years ago

That can be a bit out-of-scope for this tool. The original idea is to only manage the release process for gitflow projects on GitHub without making any assumptions or enforcing any version formats (like SemVer). That could be handled by tools like git-semver (no support for pre-releases yet) or commitizen - for when people want to use SemVer - or other tools for other versioning formats.