Skip to content

Commit

Permalink
Merge pull request #598 from EmilyShepherd/build-improvements
Browse files Browse the repository at this point in the history
Build improvements
  • Loading branch information
k8s-ci-robot authored Sep 19, 2023
2 parents 8b1fe5c + f1cebaa commit 69dae7c
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ $(OUTPUT)/bin/%:
GOARCH=$(GOARCH) \
GOPROXY=$(GOPROXY) \
go build \
-trimpath \
--tags "$(GOTAGS)" \
-o=$@ \
-ldflags="-w -s -X $(PKG)/pkg.Version=$(VERSION) -X $(PKG)/pkg.BuildDate=$(BUILD_DATE) -X $(PKG)/pkg.CommitID=$(GIT_COMMIT)" \
./cmd/aws-iam-authenticator/
Expand Down
1 change: 1 addition & 0 deletions cmd/aws-iam-authenticator/add.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !no_add
/*
Copyright 2021 by the contributors.
Expand Down
1 change: 1 addition & 0 deletions cmd/aws-iam-authenticator/init.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !no_init
/*
Copyright 2017 by the contributors.
Expand Down
1 change: 1 addition & 0 deletions cmd/aws-iam-authenticator/server.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !no_server
/*
Copyright 2017 by the contributors.
Expand Down
1 change: 1 addition & 0 deletions cmd/aws-iam-authenticator/token.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !no_token
/*
Copyright 2017 by the contributors.
Expand Down
1 change: 1 addition & 0 deletions cmd/aws-iam-authenticator/verify.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !no_verify
/*
Copyright 2017 by the contributors.
Expand Down

0 comments on commit 69dae7c

Please sign in to comment.