This attempts to add Windows (client) to the build - to fix #16.
The changes are:
Adding windows-latest to the os-matrix in build-and-release.yml
Adding windows-amd64 to the PLATFORM_LIST in the Makefile
Adding a windows-% build step in the Makefile which creates a kubectl-relay.exe-file
Adjusting the tar command with a case statement to use kubectl-relay.exe for Windows and kubectl-relay for the other platforms
Apologies for any errors. It's only partially possible to check the correct working as I had to make other changes for a test (like publishing to my fork instead of yours), and I also did not test the steps for publishing to krew.
So there is some risk it won't work correctly without some fixes.
This attempts to add Windows (client) to the build - to fix #16.
The changes are:
windows-latest
to the os-matrix inbuild-and-release.yml
windows-amd64
to thePLATFORM_LIST
in theMakefile
windows-%
build step in the Makefile which creates akubectl-relay.exe
-filecase
statement to usekubectl-relay.exe
for Windows andkubectl-relay
for the other platformsApologies for any errors. It's only partially possible to check the correct working as I had to make other changes for a test (like publishing to my fork instead of yours), and I also did not test the steps for publishing to
krew
. So there is some risk it won't work correctly without some fixes.