Skip to content

Commit

Permalink
Merge pull request #57 from uw-labs/release-target
Browse files Browse the repository at this point in the history
Add release target to aid releasing version
  • Loading branch information
george-angel authored Aug 23, 2021
2 parents 8bd91d9 + 6ed220a commit d92e30a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions strongbox.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,12 @@ import (
"github.com/jacobsa/crypto/siv"
)

const version = "dev"

var (
version = "dev"
commit = "none"
date = "unknown"
builtBy = "unknown"

keyLoader = key
kr keyRing
prefix = []byte("# STRONGBOX ENCRYPTED RESOURCE ;")
Expand Down Expand Up @@ -62,7 +65,7 @@ func main() {
flag.Parse()

if *flagVersion || (flag.NArg() == 1 && flag.Arg(0) == "version") {
fmt.Println(version)
fmt.Printf("version=%s commit=%s date=%s builtBy=%s", version, commit, date, builtBy)
return
}

Expand Down

0 comments on commit d92e30a

Please sign in to comment.