-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Adds release script #1794
Adds release script #1794
Conversation
Signed-off-by: Raffaele Di Fazio <raffo@github.com>
Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>
Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>
Please review @njuettner |
@Raffo |
@jgrumboe No, I was actually thinking of getting rid of the changelog file and only use releases. We don't have the requirements that kubernetes/kubernetes has of putting together changes from multiple repos, so the changelog file isn't super useful as of today. If the community feels strongly about having a changelog file, I'm open to reconsidering this. |
Adding a hold, so @njuettner can do a review. /hold |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: njuettner, Raffo The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* adds release script Signed-off-by: Raffaele Di Fazio <raffo@github.com> * save Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com> * scripts Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com> * update script Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com> * update docs Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com> * Update releaser.sh
Closes #1754 .
This is largely the same script from https://github.com/cli/cli/blob/trunk/script/changelog, requires
gh
to be run as well. It generates a release note compliant to what we have been using in ExternalDNS till today.The scripts must be run manually by whoever has permissions to create releases. My initial idea was to use GitHub actions today by leveraging a manually triggered workflow, but actions does not support limiting who can run workflows to specific users or groups. This means that any user with write access could potentially make a release and that's clearly not ideal. I'll wait building the automation for that for when actions will support any functionality that will allow us to limit who can do releases.
This PR also updates the documentation for the release process.