]> git.deb.at Git - rhonda/impostor.git/commitdiff
Bring back tar.gz for unix builds v1.3.0
authorjs6pak <kubastaron@hotmail.com>
Mon, 5 Apr 2021 13:27:25 +0000 (15:27 +0200)
committerjs6pak <kubastaron@hotmail.com>
Mon, 5 Apr 2021 13:27:25 +0000 (15:27 +0200)
appveyor.yml
build.cake

index ca2bc2cb6749e07d08558f1a951942aa48402529..ce3b999ae6622d9acca593bdf2180ccf0de16ce2 100644 (file)
@@ -30,6 +30,7 @@ test: off
 
 artifacts:
   - path: ./build/*.zip
+  - path: ./build/*.tar.gz
   - path: ./build/*.nupkg
   - path: ./build/*.snupkg
 
index 25a5e17b3f113ebd20a0987e340a9ccad95b4d86..d274c0bde6f9ed0f6035b771e053ef58055ec165 100644 (file)
@@ -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) {