From 886e8113f739ee0480c3a644397d11fb547493b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=8BAndrzej=20Ressel?= Date: Sun, 21 Jul 2024 20:06:18 +0200 Subject: [PATCH] Fix language plugin naming for windows (#263) --- pulumi-language-wasm/justfile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pulumi-language-wasm/justfile b/pulumi-language-wasm/justfile index 7ec416142..d9f8ba969 100644 --- a/pulumi-language-wasm/justfile +++ b/pulumi-language-wasm/justfile @@ -19,16 +19,22 @@ fmt: go fmt . build-language-plugin $GOOS $GOARCH: - go build -o pulumi-language-wasm + go build package-language-plugin GOOS GOARCH VERSION: just build-language-plugin {{GOOS}} {{GOARCH}} tar czvf pulumi-language-wasm-v{{VERSION}}-{{GOOS}}-{{GOARCH}}.tar.gz pulumi-language-wasm + rm pulumi-language-wasm + +package-language-plugin-windows GOOS GOARCH VERSION: + just build-language-plugin {{GOOS}} {{GOARCH}} + tar czvf pulumi-language-wasm-v{{VERSION}}-{{GOOS}}-{{GOARCH}}.tar.gz pulumi-language-wasm.exe + rm pulumi-language-wasm.exe package-language-plugin-all VERSION: just package-language-plugin darwin arm64 {{VERSION}} just package-language-plugin darwin amd64 {{VERSION}} just package-language-plugin linux arm64 {{VERSION}} just package-language-plugin linux amd64 {{VERSION}} - just package-language-plugin windows arm64 {{VERSION}} - just package-language-plugin windows amd64 {{VERSION}} \ No newline at end of file + just package-language-plugin-windows windows arm64 {{VERSION}} + just package-language-plugin-windows windows amd64 {{VERSION}} \ No newline at end of file