-
Notifications
You must be signed in to change notification settings - Fork 27.1k
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
Automated release #303
Comments
SGTM. Do you know any popular repos doing this which you can refer how it practically works ? |
I think semantic-release is no longer maintained - we were going to use this for |
Related: #293 |
The latest release of I'm a huge fan of |
I wonder if an approach similar to Electron auto-updater + |
That would remove the need for a system that determines the semantics of the changes. The developer(s) do so by drafting a release with the appropriate version number. |
The GitHub release draft thing is better than nothing, but the automated versioning and release is really liberating and IMO worth it. Especially with GitHub's squash and merge capabilities (where you can change the commit message as the maintainer) it's quite simple to make sure releases go as you expect/want. |
If someone has found a happy medium between automated releases and manually updating changelogs (and GitHub Releases), I'm all ears. 😄 |
You could reasonably update the auto-generated GitHub release page with semantic-release and/or you could maintain your own |
@kentcdodds I think that workflow might want to create a draft release with an auto-generated changelog which I can edit. Upon publishing, it should update |
(the "publish" action would not happen on GitHub though) |
Interesting... I'm unaware of any tool to automate that process... |
The reasoning here is that currently I'm copying & pasting from |
If that can help someone i made this a while ago (but still using it). It reads CHANGELOG section that match your package.json version and update a git tag on github, which create a "github release". https://github.com/MoOx/github-release-from-changelog |
I think drafts is where it is. For example, you can have a tool populate a draft changelog automatically. But then the dev always has the last say to make exceptions. Since we're dealing with such a highly dynamic system, it's impossible to expect the process to be fully automated. |
@boneskull I've been using standard-version for all my OSS projects, it's specifically designed to help with the CHANGELOG generation, semantic bumping, and tagging process, without explicitly performing the final step of publishing: https://github.com/conventional-changelog/standard-version although, I have been experimenting with this a bit in the yargs-parser project, using Travis' release tools: https://github.com/yargs/yargs-parser/blob/master/.travis.yml |
I'll just say that I'm hopefully that Zeit doesn't roll its own thing. I would rather we contribute to something that already exists and is 95% what is needed and just make it better. |
@kentcdodds I would love to use an existing solution :) My only requirements for our organization are:
Drafts on github are reviewable and collaborative, which is the missing piece of the puzzle. This effectively makes "npm publish" a peer-reviewed and automatic process. |
If someone extends an existing solution to do this, or can point us in the direction of one, I'd be very grateful |
Zeit introduced |
@timneutkens @rauchg @arunoda Love the format of your release notes, Trying to do the same thing for Storybook's upcoming 3.0 release. Your "release" tool mentioned above looks awesome, but as far as I can tell it looks at commits not PRs, and we want to curate at the PR level. Any thoughts/help much appreciated! Many thanks! |
@shilman the split has been done manually. But based off of |
@leo has implemented automatic releasing of new versions in github.com/zeit/now-cli with circle CI. |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Problem / Motivation
8h ago, a feature I was highly anticipating was merged into the
master
branch. Unfortunately, I will have to wait for someone to manually release this feature, in order to be able to use it without to much hassle.Solution
If we believe Zuboff, releasing could and therefor will be automated. Ideally using semantic-release. This code runs on a CI server and inspects the commit messages of a merged PR. Following semantic versioning and a convention on commit messages,
semantic-release
chooses what the next version number is and triggers a releases. Commit messages are used to create the change log.Did you ever consider automated releasing? Is there any reason we should not use it with
next.js
?The text was updated successfully, but these errors were encountered: