From f825481a4c442b95668ca9701c38fe08462fd54c Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Tue, 29 Nov 2022 12:12:32 -0500 Subject: [PATCH] Make a consistently-named windows installer In order to maintain a static webpage's link to latest windows installer build, a consistent file name is required. In addition to producing a `podman-vX.Y.Z.msi` file, also produce a `podman.msi` file. Retain the versioned file in case somebody depends on it's presence in the artifacts archive. Signed-off-by: Chris Evich --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4d9a14145a..1bcb672b19 100644 --- a/Makefile +++ b/Makefile @@ -739,9 +739,10 @@ podman-remote-release-%.zip: test/version/version ## Build podman-remote for %=$ if [[ "$(GOARCH)" != "$(NATIVE_GOARCH)" ]]; then $(MAKE) clean-binaries; fi -rm -rf "$(TMPDIR)" -.PHONY: podman.msi podman.msi: test/version/version ## Build podman-remote, package for installation on Windows $(MAKE) podman-v$(call err_if_empty,RELEASE_NUMBER).msi + cp podman-v$(call err_if_empty,RELEASE_NUMBER).msi podman.msi + podman-v%.msi: test/version/version # Passing explicitly OS and ARCH, because ARM is not supported by wixl https://gitlab.gnome.org/GNOME/msitools/-/blob/master/tools/wixl/builder.vala#L3 $(MAKE) GOOS=windows GOARCH=amd64 podman-remote-windows-docs