Skip to content

Any reason why git branch information not being retrieved in pkg/context/contex.go #1635

Closed Answered by obourdon
obourdon asked this question in Q&A
Discussion options

You must be logged in to vote

@caarlos0 many thanks for answering and sorry for not replying back earlier due to vacations ;-)

Sometimes, we produce feature branches that can also be tagged independently of master branch and we find it way easier to have BRANCHNAME-SMALLCOMMITID (like in docker images) rather than only a tag. I agree that this could seem very personal preference but I definitely think this should not be very difficult to add ... (will try to have a look if I have some spare time but not sure this will be the case in the short term)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by radeksimko
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