Skip to content

Commit

Permalink
Merge pull request #279 from redhatrises/add_version_file
Browse files Browse the repository at this point in the history
Update versioning and add version const
  • Loading branch information
shawndwells committed May 30, 2018
2 parents e6d9608 + c02fd4d commit 5785ebc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .goxc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"go-test"
],
"BuildConstraints": "linux,windows,darwin",
"PackageVersion": "1.1.2",
"PackageVersion": "1.1.3",
"TaskSettings": {
"publish-github": {
"owner": "opencontrol",
"repository": "compliance-masonry"
}
},
"ConfigVersion": "0.9"
}
}
3 changes: 2 additions & 1 deletion masonry-go.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
"github.com/opencontrol/compliance-masonry/commands/get"
"github.com/opencontrol/compliance-masonry/tools/constants"
"github.com/opencontrol/compliance-masonry/tools/fs"
"github.com/opencontrol/compliance-masonry/version"
)

var exportPath, markdownPath, opencontrolDir string
Expand All @@ -22,7 +23,7 @@ func NewCLIApp() *cli.App {
app := cli.NewApp()
app.Name = "Compliance Masonry"
app.Usage = "Open Control CLI Tool"
app.Version = "1.1.2"
app.Version = version.Version
app.Flags = []cli.Flag{
cli.BoolFlag{
Name: "verbose",
Expand Down
4 changes: 4 additions & 0 deletions version/version.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package version

// Version is the version of the build.
const Version = "1.1.3"

0 comments on commit 5785ebc

Please sign in to comment.