forked from StephenTames/provision
-
Notifications
You must be signed in to change notification settings - Fork 0
/
version.go
30 lines (21 loc) · 836 Bytes
/
version.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package provision
// All of these fields are injected as part of the
// build.sh script.
// RSPrePart is 'v' place holder
var RSPrePart = "v"
// RSMajorVersion is the first number of SemVer
var RSMajorVersion = "3"
// RSMinorVersion is the second number of SemVer
var RSMinorVersion = "8"
// RSPatchVersion is the third number of SemVer
var RSPatchVersion = "2"
// RSExtra is a mostly free form field that must
// start with a dash, but an be anything else.
var RSExtra = "-pre-alpha"
// GitHash is the injected GIT Hash for the current commit
// for this built program.
var GitHash = "NotSet"
// BuildStamp is the time the build occurred.
var BuildStamp = "Not Set"
// RSVersion is the aggregated SemVer String
var RSVersion = RSPrePart + RSMajorVersion + "." + RSMinorVersion + "." + RSPatchVersion + RSExtra + "-" + GitHash