Skip to content

Commit 6cb0a14

Browse files
committed
Add build date to build cmd
1 parent aa6a0bd commit 6cb0a14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ script:
2424
# - go get -v ./...
2525
# - diff -u <(echo -n) <(gofmt -d .) # can't make gofmt ignore vendor directory
2626
# - go vet $(go list ./... | grep -v /vendor/)
27-
- if [ "${LATEST}" = "true" ]; then gox -os="linux darwin windows" -arch="amd64" -output="lazygit.." -ldflags "-X main.Rev=`git rev-parse --short HEAD`" -verbose ./...; fi
27+
- if [ "${LATEST}" = "true" ]; then gox -os="linux darwin windows" -arch="amd64" -output="lazygit.." -ldflags "-X main.Rev=`git rev-parse --short HEAD` -X main.builddate=`date -u +%Y%m%d.%H%M%S`" -verbose ./...; fi
2828
deploy:
2929
provider: releases
3030
skip_cleanup: true

0 commit comments

Comments
 (0)