Skip to content

Commit b2f3421

Browse files
committed
Added release script
1 parent 4a0ae2c commit b2f3421

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

release.ps1

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Script for copying the release files and creating the release zip file
2+
# C:\Users\erict\Sync\Projects\PowerToys\x64\Release\modules\launcher\Plugins\Winget
3+
$version = "1.1.2"
4+
$release = "C:\Users\erict\Downloads\winget-powertoys-$version.zip"
5+
$zip = "C:\Program Files\7-Zip\7z.exe"
6+
$path = "C:\Users\erict\Sync\Projects\PowerToys\x64\Release\modules\launcher\Plugins\Winget"
7+
8+
# pack the files from path and excluding
9+
&$zip a -aoa -bb0 -bso0 -xr!PowerToys* -xr!Backup* -xr!Ijwhost* -tzip $release $path

0 commit comments

Comments
 (0)