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

Include git info in versioning #146

Merged
merged 1 commit into from
May 18, 2018
Merged

Include git info in versioning #146

merged 1 commit into from
May 18, 2018

Conversation

erwinvaneyk
Copy link
Member

Similar to the structure in Fission, this change adds git and build info to the version package

It introduces the following fields:

  • Version the version of the artifact, included by the version generator.
  • GitCommit the commit of the build, included by the version generator.
  • BuildDate the date of the build, included by ldflags.
  • GitDate the date of the commit, included by the version generator.

The version struct --- similar to that of Fission --- is a protobuf message to allow it to be passed directly by the apiserver.

As a flyby this also removes a couple of unused messages from the apiserver Protofile.

@erwinvaneyk erwinvaneyk merged commit 46f1ae3 into master May 18, 2018
@erwinvaneyk erwinvaneyk deleted the include-git-version branch May 18, 2018 13:50
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

Successfully merging this pull request may close these issues.

1 participant