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

git describe on develop branch doesn't work #126

Closed
sirlancelot opened this issue May 12, 2011 · 1 comment
Closed

git describe on develop branch doesn't work #126

sirlancelot opened this issue May 12, 2011 · 1 comment

Comments

@sirlancelot
Copy link

Since release tags only happen on the master branch, running git describe on the develop branch yields:

fatal: No tags can describe 'afc0a77f45f380b077cedabcd16adeb8c5bbc401'.
Try --always, or create some tags.

To fix this, Instead of running git merge release/xxx on the develop branch, I run git merge master after the release branch has been merged in to master and deleted.

This allows me to run git describe on my develop branch and get:

v5-1-gc6acce1

Which is more useful during development if I want to package development releases for testing.

So the order is:

  • create release branch
  • bump version, etc.
  • merge release/xxx branch to master
  • merge master branch to develop
@gvangool
Copy link

gvangool commented Jun 8, 2011

As you've stated yourself, this would be resolved by using #85.

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

2 participants