Skip to content

Commit 3780360

Browse files
committed
(build) update cake to 1.0.0-rc0001
1 parent 6224533 commit 3780360

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.config/dotnet-tools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"isRoot": true,
44
"tools": {
55
"cake.tool": {
6-
"version": "0.38.5",
6+
"version": "1.0.0-rc0001",
77
"commands": [
88
"dotnet-cake"
99
]

build/pack.cake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,11 @@ Task("Zip-Files")
118118
var sourceDir = parameters.Paths.Directories.Native.Combine(platform.ToString().ToLower()).Combine(runtime);
119119
var targetDir = parameters.Paths.Directories.ArtifactsRoot.Combine("native");
120120
EnsureDirectoryExists(targetDir);
121+
121122
var fileName = $"gitversion-{runtime}-{parameters.Version.SemVersion}.tar.gz".ToLower();
122123
var tarFile = targetDir.CombineWithFilePath(fileName);
123-
GZipCompress(sourceDir, tarFile);
124+
var filePaths = GetFiles($"{sourceDir}/**/*");
125+
GZipCompress(sourceDir, tarFile, filePaths);
124126
}
125127
});
126128

0 commit comments

Comments
 (0)