summaryrefslogtreecommitdiff
path: root/contrib/win-installer/build-hooks.bat
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-09-08 12:26:50 +0200
committerGitHub <noreply@github.com>2022-09-08 12:26:50 +0200
commitd729dd8c2e6556de10c4543c018fbebffa265a5e (patch)
treeb374d334aef07d3b699e4f4bdf3861de48206b75 /contrib/win-installer/build-hooks.bat
parente46bcd72f8d6528dbafb1ad1b34abeb0177a8b77 (diff)
parent744878a71cb225fca6cf6b8f322539b717559614 (diff)
downloadpodman-d729dd8c2e6556de10c4543c018fbebffa265a5e.tar.gz
podman-d729dd8c2e6556de10c4543c018fbebffa265a5e.tar.bz2
podman-d729dd8c2e6556de10c4543c018fbebffa265a5e.zip
Merge pull request #15610 from n1hility/release-workflow
Introduce a new signed Windows installer with automated build process
Diffstat (limited to 'contrib/win-installer/build-hooks.bat')
-rw-r--r--contrib/win-installer/build-hooks.bat4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/win-installer/build-hooks.bat b/contrib/win-installer/build-hooks.bat
new file mode 100644
index 000000000..d663f87b8
--- /dev/null
+++ b/contrib/win-installer/build-hooks.bat
@@ -0,0 +1,4 @@
+cd ../..
+go build -buildmode=c-shared -o contrib/win-installer/artifacts/podman-msihooks.dll ./cmd/podman-msihooks || exit /b 1
+go build -ldflags -H=windowsgui -o contrib/win-installer/artifacts/podman-wslkerninst.exe ./cmd/podman-wslkerninst || exit /b 1
+cd contrib/win-installer