Skip to content

Versioning own pre-commit hook with dynamic versioning #132

Answered by mtkennerly
MarshalX asked this question in Q&A
Discussion options

You must be logged in to vote

I've just published v0.25.0b2 on PyPI that adds a new option (41c868d, 7a823d1). Could you try configuring fix-shallow-repository = true and test it out? It will run git fetch --unshallow if it detects a shallow repository.

Edit: Sorry, I think I missed a condition, so it will still complain about the shallow repository. One moment... Fixed in v0.25.0b2 by switching from git fetch --tags to git fetch --unshallow.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@MarshalX
Comment options

@MarshalX
Comment options

@mtkennerly
Comment options

Answer selected by mtkennerly
@MarshalX
Comment options

@mtkennerly
Comment options

@MarshalX
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants