Skip to content

Commit

Permalink
chore: updated release script, fixed gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
arendvw committed Nov 4, 2020
1 parent 63365f0 commit e70b496
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
yak.exe

dist/*
output/*
# User-specific files
*.suo
*.user
Expand Down
4 changes: 2 additions & 2 deletions release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,6 @@ if ($null -eq $result) {
exit;
}

Write-Host $result;

Write-Host "Packaging new version.."
# Create empty temporary folder
$temp = ".\dist"
Expand All @@ -212,7 +210,9 @@ foreach ($item in $copyToOutput) {
Copy-Item $item $temp
}

Write-Host "Packaging zip version.."
$outputZip = ".\$($namePrefix)-$($yakversion).zip";
Compress-Archive -Path "$($temp)/*" -DestinationPath $outputZip

Write-Host "Packaging yak version.."
Copy-Item $manifestFile $temp
Expand Down

0 comments on commit e70b496

Please sign in to comment.