Skip to content

Commit

Permalink
improve make-release
Browse files Browse the repository at this point in the history
  • Loading branch information
birgersp committed Nov 23, 2020
1 parent f99d5ab commit 2aa48b6
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions ps/make-release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ $exampleMission="~\Saved Games\DCS\Missions\autogft-example.miz"
$rootDir = Get-Location
$examplesDirFull = "$($rootDir)\$($examplesDir)"

[void]$outFileSB.Append("$($outFileWarning)`n")
[void]$outFileSB.Append("-- Version $($version)`n")
[void]$outFileSB.Append("-- Build $($date)`n")
[void]$experimentsSB.Append($outFileWarning)
[void]$examplesSB.Append($outFileWarning)

# Create examples dest dir
[void](New-Item -ItemType Directory -Path $examplesDestination -Force)

Expand Down Expand Up @@ -48,4 +42,6 @@ foreach ($file in Get-ChildItem docs) {
if (Test-Path $archiveDir\$archiveFile) {
Remove-Item $archiveDir\$archiveFile
}

# Create zip
7z a .\$archiveDir\$archiveFile .\$buildDir\* .\$buildDir\docs\ .\$buildDir\examples\

0 comments on commit 2aa48b6

Please sign in to comment.