Skip to content

Commit

Permalink
Makefile: Update release to include all arches
Browse files Browse the repository at this point in the history
(cherry picked from commit 583be4b)
  • Loading branch information
tomdee authored and deitch committed Sep 12, 2018
1 parent 7d1dfe7 commit 6114b74
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -285,10 +285,10 @@ release-tag: release-prereqs release-notes

## Produces a clean build of release artifacts at the specified version.
release-build: release-prereqs clean
$(MAKE) image
$(MAKE) tag-images IMAGETAG=$(VERSION)
$(MAKE) image-all
$(MAKE) tag-images-all IMAGETAG=$(VERSION)
# Generate the `latest` images.
$(MAKE) tag-images IMAGETAG=latest
$(MAKE) tag-images-all IMAGETAG=latest

## Verifies the release artifacts produces by `make release-build` are correct.
release-verify: release-prereqs
Expand All @@ -312,7 +312,7 @@ release-publish: release-prereqs
git push origin $(VERSION)

# Push images.
$(MAKE) push IMAGETAG=$(VERSION) ARCH=$(ARCH)
$(MAKE) push-all IMAGETAG=$(VERSION)

@echo "Finalize the GitHub release based on the pushed tag."
@echo ""
Expand All @@ -327,7 +327,7 @@ release-publish: release-prereqs
# run this target for alpha / beta / release candidate builds, or patches to earlier Calico versions.
## Pushes `latest` release images. WARNING: Only run this for latest stable releases.
release-publish-latest: release-prereqs
$(MAKE) push IMAGETAG=latest ARCH=$(ARCH)
$(MAKE) push-all IMAGETAG=latest

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

0 comments on commit 6114b74

Please sign in to comment.