Skip to content

Commit

Permalink
Makefile: Add --always to git describe
Browse files Browse the repository at this point in the history
  • Loading branch information
synackd committed Aug 2, 2024
1 parent 1cd92d3 commit a80c8d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ DOCKER ?= docker

# Version
BUILD := $(shell git rev-parse --short HEAD)
VERSION := $(shell git describe --tags --abbrev=0)
VERSION := $(shell git describe --tags --always --abbrev=0)
BINARIES = boot-script-service bss-init
GOOS := $(if $(GOOS),$(GOOS),linux)
GOARCH := $(if $(GOARCH),$(GOARCH),amd64)
Expand Down

0 comments on commit a80c8d6

Please sign in to comment.