Skip to content

Commit 9a505ea

Browse files
committed
Makefile: Update release to include all arches
1 parent 7daf106 commit 9a505ea

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -408,9 +408,9 @@ release-build: release-prereqs clean
408408
ifneq ($(VERSION), $(GIT_VERSION))
409409
$(error Attempt to build $(VERSION) from $(GIT_VERSION))
410410
endif
411-
$(MAKE) image
412-
$(MAKE) tag-images IMAGETAG=$(VERSION)
413-
$(MAKE) tag-images IMAGETAG=latest
411+
$(MAKE) image-all
412+
$(MAKE) tag-images-all IMAGETAG=$(VERSION)
413+
$(MAKE) tag-images-all IMAGETAG=latest
414414

415415
## Verifies the release artifacts produces by `make release-build` are correct.
416416
release-verify: release-prereqs
@@ -433,7 +433,7 @@ release-publish: release-prereqs
433433
git push origin $(VERSION)
434434

435435
# Push images.
436-
$(MAKE) push RELEASE=true IMAGETAG=$(VERSION) ARCH=$(ARCH)
436+
$(MAKE) push-all RELEASE=true IMAGETAG=$(VERSION)
437437

438438
@echo "Finalize the GitHub release based on the pushed tag."
439439
@echo "Attach the $(DIST)/calico-typha-amd64 binary."
@@ -453,7 +453,7 @@ release-publish-latest: release-prereqs
453453
if ! docker run $(CONTAINER_NAME):latest-$(ARCH) calico-typha --version | grep '$(VERSION)'; then echo "Reported version:" `docker run $(CONTAINER_NAME):latest-$(ARCH) calico-typha --version` "\nExpected version: $(VERSION)"; false; else echo "\nVersion check passed\n"; fi
454454
if ! docker run quay.io/$(CONTAINER_NAME):latest-$(ARCH) calico-typha --version | grep '$(VERSION)'; then echo "Reported version:" `docker run quay.io/$(CONTAINER_NAME):latest-$(ARCH) calico-typha --version` "\nExpected version: $(VERSION)"; false; else echo "\nVersion check passed\n"; fi
455455

456-
$(MAKE) push RELEASE=true IMAGETAG=latest ARCH=$(ARCH)
456+
$(MAKE) push-all RELEASE=true IMAGETAG=latest
457457

458458
# release-prereqs checks that the environment is configured properly to create a release.
459459
release-prereqs:

0 commit comments

Comments
 (0)