Skip to content

Commit

Permalink
Merge pull request #823 from r2d4/fix-cloudbuild-release
Browse files Browse the repository at this point in the history
Fix cloudbuild release yaml
  • Loading branch information
r2d4 authored Jul 13, 2018
2 parents fa82f78 + c732054 commit e6f37af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ BUILD_PACKAGE = $(REPOPATH)/cmd/skaffold

VERSION_PACKAGE = $(REPOPATH)/pkg/skaffold/version
COMMIT = $(shell git rev-parse HEAD)
VERSION = $(shell git describe --always --tags --dirty)
VERSION ?= $(shell git describe --always --tags --dirty)

GO_LDFLAGS :="
GO_LDFLAGS += -X $(VERSION_PACKAGE).version=$(VERSION)
Expand Down
1 change: 1 addition & 0 deletions deploy/cloudbuild-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ steps:
- 'make'
- '-j'
- 'release'
- 'VERSION=$TAG_NAME'
- 'RELEASE_BUCKET=$_RELEASE_BUCKET'
- 'GCP_PROJECT=$PROJECT_ID'

Expand Down

0 comments on commit e6f37af

Please sign in to comment.