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
Add a hook to ensure the client's version is updated before pushing a tag/release #115
Conversation
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.
I have a couple of suggestions, also I'm a bit worry about the version falling out of sync again but we can follow on that with improving our release process
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 @themantissa ready for you, it would be a good idea if we defined a release procedure to make sure we update the version on 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.
LGTM, @gssbzn a very good point on a documented release process. Thus far we've simply released when we needed a new version for Terraform (or other work) but with all the new dependencies I think it's a very smart suggestion to formalize this. Do you have an example we can follow?
Also adding DoU for review.
in mcli we have a RELEASING.md. We also have a little bash script to automate some of the process, we could look if making a bash script to update the version and tag the release would make sense here |
@gssbzn this is an excellent example, thank you! Sounds like we'll want similar for this but perhaps figure out communication channels between teams for timing, etc. |
run: make tools lint test | ||
|
||
- name: Checking the version | ||
run: make check-version |
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 workflow will ensure that we get notified when a tag was pushed and the version was not updated.
@@ -13,26 +13,36 @@ link-git-hooks: | |||
find .git/hooks -type l -exec rm {} \; | |||
find githooks -type f -exec ln -sf ../../{} .git/hooks/ \; | |||
|
|||
.PHONY: build |
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.
updated for consistency
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.
one question and one small nit but none blocking
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 thanks for all the fixes
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.
Nice! LGTM
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!
Description
Link to any related issue(s):
Type of change:
Required Checklist:
make fmt
and formatted my codeFurther comments