Skip to content

Commit

Permalink
Shorten git revision printed in the --version output (#770)
Browse files Browse the repository at this point in the history
  • Loading branch information
sosedoff authored Dec 21, 2024
1 parent f5f78eb commit 302aa1d
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,5 +1,5 @@
PKG = github.com/sosedoff/pgweb
GIT_COMMIT ?= $(shell git rev-parse HEAD)
GIT_COMMIT ?= $(shell git rev-parse --short=8 HEAD)
BUILD_TIME ?= $(shell date -u +"%Y-%m-%dT%H:%M:%SZ" | tr -d '\n')
GO_VERSION ?= $(shell go version | awk {'print $$3'})

Expand Down

0 comments on commit 302aa1d

Please sign in to comment.