mirror of
https://github.com/kubernetes/client-go.git
synced 2025-07-05 11:16:23 +00:00
remove out-of-date comments about version
mark_new_version.sh (actually mark-new-version.sh) has been removed. And we are not creating vX.Y tags. We are using ldflags -X now. Kubernetes-commit: 0f0f9d01c0db8906989616ccc1ef04175035ddf9
This commit is contained in:
parent
2d0ad1ac54
commit
48920637ea
@ -24,15 +24,9 @@ package version
|
||||
// information from git.
|
||||
//
|
||||
// If you are looking at these fields in the git tree, they look
|
||||
// strange. They are modified on the fly by the build process. The
|
||||
// strange. They are set by the build process with ldflags -X. The
|
||||
// in-tree values are dummy values used for "git archive", which also
|
||||
// works for GitHub tar downloads.
|
||||
//
|
||||
// When releasing a new Kubernetes version, this file is updated by
|
||||
// build/mark_new_version.sh to reflect the new version, and then a
|
||||
// git annotated tag (using format vX.Y where X == Major version and Y
|
||||
// == Minor version) is created to point to the commit that updates
|
||||
// pkg/version/base.go
|
||||
var (
|
||||
// TODO: Deprecate gitMajor and gitMinor, use only gitVersion
|
||||
// instead. First step in deprecation, keep the fields but make
|
||||
|
Loading…
Reference in New Issue
Block a user