Switch packages for Ubuntu & macOS to use tar.gz format instead of zip #6

Merged
maxim-lobanov merged 7 commits from v-malob/switch-to-tar-gz into master 2020-04-23 20:42:49 +05:00
2 changed files with 4 additions and 2 deletions
Showing only changes of commit 10e3a2416f - Show all commits

View File

@@ -25,5 +25,5 @@ function Create-TarArchive {
$CompressionArgument = If ([string]::IsNullOrWhiteSpace($CompressionType)) { "" } else { "--${CompressionType}" }
tar -c $CompressionArgument -f $ArchivePath "$SourceFolder\*.*"
tar -c $CompressionArgument -f $ArchivePath "$SourceFolder/*.*"
}

View File

@@ -25,5 +25,7 @@ function Create-SevenZipArchive {
$ArchiveTypeArgument = "-t${ArchiveType}"
7z a $ArchiveTypeArgument $ArchivePath "$SourceFolder\*.*" -r
Push-Location $SourceFolder
7z a $ArchiveTypeArgument $ArchivePath *.* -r
Pop-Location
}