Skip to content

Commit

Permalink
fix build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
MetalBlueberry committed Dec 13, 2020
1 parent 340b538 commit 593a3ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
export VERSION=$(git describe --dirty)
export VERSION=$(git describe --tag --dirty)
go build -ldflags="-X 'github.com/MetalBlueberry/chkb/cmd.Version=$VERSION'"
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
export VERSION=$(git describe --dirty)
export VERSION=$(git describe --tag --dirty)
go install -ldflags="-X 'github.com/MetalBlueberry/chkb/cmd.Version=$VERSION'"

0 comments on commit 593a3ba

Please sign in to comment.