-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Sebastianmaj/masteronlybump #60
Conversation
…pyhelper into sebastianmaj/masteronlybump
…pyhelper into sebastianmaj/masteronlybump
@SebastianMaj have you been able to test this on a sample project? The new logic in this PR around commit messages having special meaning should at least be documented. But once we start adding special behavior like this, @shawaj's git-semantic-versioning recommendation prob deserves another consideration. That said I still think we should get this over the line whichever the way is fastest and involves least developer friction. Is there a follow-up issue to track a more full featured solution? |
https://github.com/SebastianMaj/hm-pytester I had issues with it yesterday but got it working in the end in a sample project, I pushed the working workflow. I did find that it requires a Personal Access Token to have the Mr Bump commit trigger the CI workflow to successfully release. I'll see if there is a way around this but all solutions that involve a push through the workflow seemed to require this. Reason being is that SECRETS.GIT_TOKEN has an intentional blocker from running GitHub workflows to prevent an infinite loop, I made sure there is no infinite loop. |
Successfully builds and releases binaries upon push to master Reference of this working: https://github.com/SebastianMaj/hm-pytester Version 0.9.29 and latest commit
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.
Is there a ticket that summarizes the follow-up work we want to do?
|
||
- name: Assign Git User Email | ||
run: | | ||
git config --global user.email "[email protected]" |
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.
Surprised we need to do this config, don't see anything similar in hm-miner: https://github.com/NebraLtd/hm-miner/blob/master/.github/workflows/check-latest-release.yml
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 is for the commit that Mr. Bump is doing, it gave me an error the first time I implemented him saying unknown user and to set the name + email
Not at the moment, I can create one and include what we mentioned in todays standup |
Heads up @SebastianMaj https://github.com/NebraLtd/hm-pyhelper/runs/4179374630?check_suite_focus=true |
Oh no we can't push to master, this means we'll have to do it some other way or create a PR instead of a push. Master is a protected branch. I'll look into this either later today or on the weekend as I'll be focusing on the hm-diag exception issue. |
Why
Version mismatch with master and bumpconfig
How
Updated version in bumpconfig