-
Notifications
You must be signed in to change notification settings - Fork 73
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
Release helper script and CI #452
Conversation
fix ref name change the command fetch depth Try checking out the tag Remove tag check Releasey bits Tag file Try fetching all tags Ask it very nicely to fetch tags needs a force to make it happy Finally get tags working fix fails Simpify Correct param Fix name s/file/path Update release script Test publish workflow forgot to checkout test publication Use npm publish Use proper publish script
echo "Generated tag $TAG" | ||
|
||
echo "Pushing to origin" | ||
git push origin $TAG |
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.
This obviously doesn't allow us to do a PR for releases, which may not be desirable. Thoughts on how this could be re-architected to support that are welcome. Alternatively we can forgo the PR.
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.
PRs for releases can be a bit of a pain, and are probably redundant since we usually discuss release plans internally before publishing anything. So I'm in favour of forgoing.
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
echo "Generated tag $TAG" | ||
|
||
echo "Pushing to origin" | ||
git push origin $TAG |
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.
PRs for releases can be a bit of a pain, and are probably redundant since we usually discuss release plans internally before publishing anything. So I'm in favour of forgoing.
This should help people other than me release changes for matrix-appservice-bridge.
This comes in 3 parts:
release.sh
script replaces the oldchangelog-release.sh
script. It will now generate a draft changelog, check you are happy with it, then create the correct commits, tags and push the right things.