mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-04 22:20:24 +00:00
Quote 7z command
This commit is contained in:
parent
e7f4eeffad
commit
5ef682c7ca
|
@ -3,7 +3,7 @@ $Timestamp = (Get-Date).ToUniversalTime().ToString("yyyy-MM-dd-HH-mm-ss")
|
||||||
$Filename = "qb64_${Timestamp}_$($Env:GITHUB_SHA.substring(0,7))_win-${Env:PLATFORM}.7z"
|
$Filename = "qb64_${Timestamp}_$($Env:GITHUB_SHA.substring(0,7))_win-${Env:PLATFORM}.7z"
|
||||||
|
|
||||||
Set-Location ..
|
Set-Location ..
|
||||||
7z a -xr@qb64\.ci\common-exclusion.list -xr@qb64\.ci\win-exclusion.list $Filename qb64
|
7z a '-xr@qb64\.ci\common-exclusion.list' '-xr@qb64\.ci\win-exclusion.list' $Filename qb64
|
||||||
$OldFiles = aws --output json --query Contents[].Key s3api list-objects --bucket $Bucket --prefix win-$Env:PLATFORM | ConvertFrom-Json
|
$OldFiles = aws --output json --query Contents[].Key s3api list-objects --bucket $Bucket --prefix win-$Env:PLATFORM | ConvertFrom-Json
|
||||||
aws s3 cp $Filename "s3://${Bucket}/win-${Env:PLATFORM}/"
|
aws s3 cp $Filename "s3://${Bucket}/win-${Env:PLATFORM}/"
|
||||||
foreach ($f in $OldFiles) {
|
foreach ($f in $OldFiles) {
|
||||||
|
|
Loading…
Reference in a new issue