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

Is it really deprecated forever and We should migrate to another solution? #915

Closed
tomavic opened this issue Jun 18, 2022 · 5 comments
Closed
Labels

Comments

@tomavic
Copy link

tomavic commented Jun 18, 2022

Why there is no more information about the deprecation and more solutions as alternatives?

@techieshark
Copy link

#907

@TimothyJones
Copy link
Contributor

TimothyJones commented Jun 21, 2022

I've forked to commit-and-tag-version here https://github.com/absolute-version/commit-and-tag-version , which is tested on all current releases of node, and also contains merges of all the working PRs that didn't seem to require extra discussion or change the purpose of the tool. You're welcome to use that if you like.

I can also tell you that having used release-please, it really is excellent and requires less work than this (also excellent) tool. The primary difference is that release-please comes with the problem of "ok now how do I get this release commit into a protected master branch" completely solved. If it works for you, great. If not, you're welcome to use commit-and-tag-version as a drop-in replacement. I plan to continue maintaining it (and of course contributions welcome).

@tomavic
Copy link
Author

tomavic commented Jun 25, 2022

@TimothyJones Thanks for that. I will definitely try to release-please first on a sample app, and will check if it satisfies my needs.

For me I didn't find a solution yet to update my protected (master or dev) branches after each release on any release/* branch. I am allowing pipelines to force push of dev after each pre-release or release, so that dev branch is up-to-date with the latest commit all the time. But it is not recommended.

Any ideas on best way to do it without braking the rules of the protected branch? or any out-of-box idea on the whole workflow?

@TimothyJones
Copy link
Contributor

TimothyJones commented Jun 25, 2022

It's a little off topic for this issue, but it's also an easy answer - the way release-please works is to separate the commit and the tag. It maintains a PR that contains the release commit with the current changelog. Once you merge the PR, release-please then tags the commit in master. It's a pretty clever solution.

@tomavic
Copy link
Author

tomavic commented Jun 25, 2022

I am going to close the issue as it was an open discussion only. I hope it could help people coming from "Google Search Results" too 🤖

@tomavic tomavic closed this as completed Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants