Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Add version, git commit sha and tag to manifest of built jar #1

Closed
RayRoestenburg opened this Issue Oct 18, 2011 · 1 comment

Comments

Projects
None yet
2 participants

It would be nice to have sbt-release write the git commit sha and tag of the release version that will be built, into the manifest file, as well as the release version that is decided upon by sbt-release (META-INF/MANIFEST.MF)

Some notes:
You can use git describe to get the current tag, and git rev-parse HEAD to get the commit tag at HEAD.

(Be sure to use 'git tag -a', so 'git describe' gives you the correct answer)

@ghost ghost assigned gseitz Oct 19, 2011

Member

gseitz commented Oct 19, 2011

While this in itself is no problem to implement, I will have to get a hold of Mark, as there are appears to be a weird sbt internal behavior regarding on-the-fly session settings.

@gseitz gseitz closed this in 703585e Oct 21, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment