mirror of
https://github.com/helm/helm.git
synced 2026-03-21 18:10:33 -04:00
parent
7b222cef8b
commit
eda3910361
2 changed files with 11 additions and 2 deletions
9
Makefile
9
Makefile
|
|
@ -36,6 +36,15 @@ dist:
|
|||
$(DIST_DIRS) zip -r helm-${VERSION}-{}.zip {} \; \
|
||||
)
|
||||
|
||||
.PHONY: checksum
|
||||
checksum:
|
||||
( \
|
||||
cd _dist && \
|
||||
for f in ./*.{tar.gz,zip} ; do \
|
||||
shasum -a 256 "$${f}" | awk '{print $$1}' > "$${f}.sha256" ; \
|
||||
done \
|
||||
)
|
||||
|
||||
.PHONY: check-docker
|
||||
check-docker:
|
||||
@if [ -z $$(which docker) ]; then \
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ deployment:
|
|||
|
||||
# build canary helm binaries and push
|
||||
- make build-cross
|
||||
- make dist VERSION="${CIRCLE_TAG}"
|
||||
- make dist checksum VERSION="${CIRCLE_TAG}"
|
||||
- sudo /opt/google-cloud-sdk/bin/gsutil cp ./_dist/* "gs://${PROJECT_NAME}"
|
||||
|
||||
canary:
|
||||
|
|
@ -74,5 +74,5 @@ deployment:
|
|||
|
||||
# build canary helm binaries and push
|
||||
- make build-cross
|
||||
- make dist VERSION=canary
|
||||
- make dist checksum VERSION=canary
|
||||
- sudo /opt/google-cloud-sdk/bin/gsutil cp ./_dist/* "gs://${PROJECT_NAME}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue