Skip to content

Commit

Permalink
Bring back tar.gz for unix builds
Browse files Browse the repository at this point in the history
  • Loading branch information
js6pak committed Apr 5, 2021
1 parent a0627bb commit 0a30fe5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ test: off

artifacts:
- path: ./build/*.zip
- path: ./build/*.tar.gz
- path: ./build/*.nupkg
- path: ./build/*.snupkg

Expand Down
6 changes: 5 additions & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0a30fe5

Please sign in to comment.