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

How to split bumping and tagging to allow intermediate step in between #256

Open
albertogomcas opened this issue Aug 30, 2022 · 0 comments

Comments

@albertogomcas
Copy link

My use case, I have some versioned source code that can be compiled into a binary. The binary is added to a dist folder on the same repo (may be an anti-pattern...)

Steps as I have it configured now:

  1. (bump2version) Bump version of the code, commit [+ tag]
  2. build the binary, replace the old binary
  3. commit binary file
  4. push and push tags

The problem is that the binary commit happens after the tag.

What I would need:

  1. (bump2version) Bump version of the code, commit [no tag]
  2. build the binary, replace the old binary
  3. commit binary file
  4. tag with the bumped version
  5. push and push tags

I can of course script myself the new step 4, but I was wondering if I have missed some option of bump2version that allows for this, basically create the tag without bumping the version

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

No branches or pull requests

1 participant