File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 3
3
"isRoot" : true ,
4
4
"tools" : {
5
5
"cake.tool" : {
6
- "version" : " 0.38.5 " ,
6
+ "version" : " 1.0.0-rc0001 " ,
7
7
"commands" : [
8
8
" dotnet-cake"
9
9
]
Original file line number Diff line number Diff line change @@ -118,9 +118,11 @@ Task("Zip-Files")
118
118
var sourceDir = parameters . Paths . Directories . Native . Combine ( platform . ToString ( ) . ToLower ( ) ) . Combine ( runtime ) ;
119
119
var targetDir = parameters . Paths . Directories . ArtifactsRoot . Combine ( "native" ) ;
120
120
EnsureDirectoryExists ( targetDir ) ;
121
+
121
122
var fileName = $ "gitversion-{ runtime } -{ parameters . Version . SemVersion } .tar.gz". ToLower ( ) ;
122
123
var tarFile = targetDir . CombineWithFilePath ( fileName ) ;
123
- GZipCompress ( sourceDir , tarFile ) ;
124
+ var filePaths = GetFiles ( $ "{ sourceDir } /**/*") ;
125
+ GZipCompress ( sourceDir , tarFile , filePaths ) ;
124
126
}
125
127
} ) ;
126
128
You can’t perform that action at this time.
0 commit comments