Skip to content
This repository has been archived by the owner on Mar 4, 2022. It is now read-only.

Commit

Permalink
Fix reference to vars package in releasegen.sh and Makefile (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
bufdev authored and peats-bond committed Aug 16, 2018
1 parent 27ff56c commit acb79dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ vendor:
.PHONY: install
install:
go install \
-ldflags "-X 'github.com/uber/prototool/internal/x/vars.GitCommit=$(shell git rev-list -1 HEAD)' -X 'github.com/uber/prototool/internal/x/vars.BuiltTimestamp=$(shell date -u)'" \
-ldflags "-X 'github.com/uber/prototool/internal/vars.GitCommit=$(shell git rev-list -1 HEAD)' -X 'github.com/uber/prototool/internal/vars.BuiltTimestamp=$(shell date -u)'" \
$(BINS)

.PHONY: license
Expand Down
2 changes: 1 addition & 1 deletion etc/bin/releasegen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ for os in Darwin Linux; do
go build \
-a \
-installsuffix cgo \
-ldflags "-X 'github.com/uber/prototool/internal/x/vars.GitCommit=$(git rev-list -1 HEAD)' -X 'github.com/uber/prototool/internal/x/vars.BuiltTimestamp=$(date -u)'" \
-ldflags "-X 'github.com/uber/prototool/internal/vars.GitCommit=$(git rev-list -1 HEAD)' -X 'github.com/uber/prototool/internal/vars.BuiltTimestamp=$(date -u)'" \
-o "${dir}/bin/prototool" \
internal/cmd/prototool/main.go
tar -C "${tar_context_dir}" -cvzf "${BASE_DIR}/prototool-${os}-${arch}.tar.gz" "${tar_dir}"
Expand Down

0 comments on commit acb79dd

Please sign in to comment.