Skip to content

Commit

Permalink
Added release script
Browse files Browse the repository at this point in the history
  • Loading branch information
bostrot committed Mar 18, 2023
1 parent 4a0ae2c commit b2f3421
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions release.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Script for copying the release files and creating the release zip file
# C:\Users\erict\Sync\Projects\PowerToys\x64\Release\modules\launcher\Plugins\Winget
$version = "1.1.2"
$release = "C:\Users\erict\Downloads\winget-powertoys-$version.zip"
$zip = "C:\Program Files\7-Zip\7z.exe"
$path = "C:\Users\erict\Sync\Projects\PowerToys\x64\Release\modules\launcher\Plugins\Winget"

# pack the files from path and excluding
&$zip a -aoa -bb0 -bso0 -xr!PowerToys* -xr!Backup* -xr!Ijwhost* -tzip $release $path

0 comments on commit b2f3421

Please sign in to comment.