From 0a30fe5a3e69a242112875b677b109fc838dc0f4 Mon Sep 17 00:00:00 2001 From: js6pak Date: Mon, 5 Apr 2021 15:27:25 +0200 Subject: [PATCH] Bring back tar.gz for unix builds --- appveyor.yml | 1 + build.cake | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index ca2bc2c..ce3b999 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -30,6 +30,7 @@ test: off artifacts: - path: ./build/*.zip + - path: ./build/*.tar.gz - path: ./build/*.nupkg - path: ./build/*.snupkg diff --git a/build.cake b/build.cake index 25a5e17..d274c0b 100644 --- a/build.cake +++ b/build.cake @@ -52,7 +52,11 @@ private void ImpostorPublish(string name, string project, string runtime, bool i } } - Zip(projBuildDir, buildDir.CombineWithFilePath(projBuildName + ".zip")); + if (runtime == "win-x64") { + Zip(projBuildDir, buildDir.CombineWithFilePath(projBuildName + ".zip")); + } else { + GZipCompress(projBuildDir, buildDir.CombineWithFilePath(projBuildName + ".tar.gz")); + } } private void ImpostorPublishNF(string name, string project) { -- 2.39.5