question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Usage with git flow?

See original GitHub issue

Hi,

I like the features in this package, and I would like to know how this can be used in conjunction with git flow (the command line edition). Currently my release process is:

git flow release start 1.2.3
vim package.json #manually version to 1.2.3
git commit package.json -m "bump version"
git flow release finish 1.2.3
#accept default commit message populated by git flow for merge commit
#type "release v1.2.3" for the tag message
git push origin master --tags #pushes tag named "v1.2.3"
git push origin develop

It involves:

  • typing the version number a total of 4 times
  • don’t get the version number decided automatically (whether it is a patch or minor)
  • don’t get the tag message auto-populated with the commit messages from what has changed since the last release
  • have to type many commands

I’m using git flow as a general branching strategy tool, not just for releases, and would like to continue doing so. I would like for git flow to still control the anything to do with branching and committing, and use conventional-changelog for determining what the next version number should be, and auto-populating the tag commit message.

Is there some combination of command line options or configuration that will allow me to achieve this?

Thanks!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
benmartencommented, Jan 1, 2018

standard version is not at all gitflow compliant

0reactions
hutsoncommented, Jan 29, 2018

@benmarten would you please consider filing issues with standard-version to bring up each issue that inhibits its use with git flow.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use Git Flow | Learn Git - GitKraken
How to use Git Flow in GitKraken Client · Navigate to Preferences in the top toolbars · In the left panel select Gitflow...
Read more >
git-flow cheatsheet
To start a release, use the git flow release command. It creates a release branch created from the 'develop' branch. git flow release...
Read more >
Workflows with git-flow | Learn Version Control with Git
git -flow is by no means a replacement for Git. It's just a set of scripts that combine standard Git commands in a...
Read more >
Git Flow - Developer Experience Knowledge Base
Why You Might Want to Use the Git Flow · Git Flow Workflow simplifies parallel development because it isolates the new development from...
Read more >
Full Gitflow init workflow example - TheServerSide.com
Full Gitflow init workflow example ; $ git flow init ; (development) $ git branch -a ; (development) $ git flow feature start...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found