Skip to content

Commit

Permalink
chore(makefile): update version formatting
Browse files Browse the repository at this point in the history
- Remove 'v' prefix from version string
- Ensure version reflects the correct format for usage

[Therapy notes by Kommitment - github.com/cowboy-bebug/kommitment]
  • Loading branch information
cowboy-bebug committed Mar 1, 2025
1 parent e3f1624 commit 52b1845
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
@@ -1,4 +1,4 @@
VERSION := $(shell git describe --tags --always)
VERSION := $(shell git describe --tags --always | sed 's/^v//')
COMMIT := $(shell git rev-parse --short HEAD)
DATE := $(shell date -u +'%Y-%m-%dT%H:%M:%SZ')
LDFLAGS := "-X main.version=$(VERSION) -X main.commit=$(COMMIT) -X main.date=$(DATE)"
Expand Down

0 comments on commit 52b1845

Please sign in to comment.