Merge pull request #1552 from gerhard/fix-dagger-version-on-make-install
Set the version when installing via make install
This commit is contained in:
commit
5c79824774
4
Makefile
4
Makefile
@ -25,8 +25,8 @@ dagger-debug: # Build a debug version of the dev dagger binary
|
||||
go build -race -o ./cmd/dagger/dagger-debug -ldflags '-X go.dagger.io/dagger/version.Revision=$(GIT_REVISION)' ./cmd/dagger/
|
||||
|
||||
.PHONY: install
|
||||
install: dagger # Build & install a dev dagger binary
|
||||
go install ./cmd/dagger
|
||||
install: # Install a dev dagger binary
|
||||
go install -ldflags '-X go.dagger.io/dagger/version.Revision=$(GIT_REVISION)' ./cmd/dagger
|
||||
|
||||
.PHONY: test
|
||||
test: # Run all tests
|
||||
|
Reference in New Issue
Block a user