Skip to content

Commit

Permalink
fix release version format
Browse files Browse the repository at this point in the history
  • Loading branch information
mchmarny committed May 29, 2022
1 parent 4a85f16 commit 0d170ce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ builds:
- -trimpath
ldflags:
- -s -w -X main.version={{.Version}}
- -s -w -X main.commit={{.Commit}}
- -s -w -X main.commit={{.ShortCommit}}
goos:
- darwin
- linux
Expand Down
2 changes: 1 addition & 1 deletion cmd/cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func main() {

app := &cli.App{
Name: "dctl",
Version: fmt.Sprintf("%s - (commit: %s)", version, commit),
Version: fmt.Sprintf("%s - (%s)", version, commit),
Compiled: time.Now(),
Usage: "CLI for quick insight into the GitHub org/repo activity",
Flags: []cli.Flag{
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.3.7
v0.3.8

0 comments on commit 0d170ce

Please sign in to comment.