Skip to content

Commit 3261d89

Browse files
committed
Makefile | Modify git-describe command to gather Version
1 parent c70eb91 commit 3261d89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Version := $(shell git describe --tags --dirty)
1+
Version := $(shell git describe --tags --dirty --always)
22
GitCommit := $(shell git rev-parse HEAD)
33
LDFLAGS := "-s -w -X awssh/cmd.Version=$(Version) -X awssh/cmd.GitCommit=$(GitCommit)"
44
OUTDIR := bin

0 commit comments

Comments
 (0)