Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

bountylabs/gitversion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gitversion

Include git commit hash in golang file

usage

gitversion -i pathToRepository -o pathToVersionFile -p packageName

-i defaults to .
-o defaults to version.go
-p defaults to version

template

package %s

var GIT_COMMIT_HASH = "%s"

About

Include git commit hash in golang file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages