Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set version and revision at linked time
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
- Loading branch information
Showing
4 changed files
with
27 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
package credentials | ||
|
||
// Version holds a string describing the current version | ||
const Version = "0.6.4" | ||
var ( | ||
// Package is filled at linking time | ||
Package = "github.com/docker/docker-credential-helpers" | ||
|
||
// Version holds the complete version number. Filled in at linking time. | ||
Version = "v0.0.0+unknown" | ||
|
||
// Revision is filled with the VCS (e.g. git) revision being used to build | ||
// the program at linking time. | ||
Revision = "" | ||
) |