Skip to content
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

Closed
wants to merge 16 commits into from
Closed

Conversation

Kerrryu
Copy link

@Kerrryu Kerrryu commented Nov 10, 2021

Why
Version mismatch with master and bumpconfig

How
Updated version in bumpconfig

@Kerrryu Kerrryu requested a review from a team as a code owner November 10, 2021 00:26
@marvinmarnold
Copy link
Contributor

@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?

@Kerrryu
Copy link
Author

Kerrryu commented Nov 11, 2021

@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.

#20

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
Copy link
Contributor

@marvinmarnold marvinmarnold left a 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]"
Copy link
Contributor

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

Copy link
Author

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

@Kerrryu
Copy link
Author

Kerrryu commented Nov 11, 2021

Is there a ticket that summarizes the follow-up work we want to do?

Not at the moment, I can create one and include what we mentioned in todays standup

@marvinmarnold
Copy link
Contributor

Heads up @SebastianMaj https://github.com/NebraLtd/hm-pyhelper/runs/4179374630?check_suite_focus=true

@Kerrryu
Copy link
Author

Kerrryu commented Nov 11, 2021

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.

@Kerrryu Kerrryu closed this Nov 15, 2021
@Kerrryu Kerrryu deleted the sebastianmaj/masteronlybump branch November 15, 2021 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants