1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-06-29 11:40:38 +00:00

Prevents deletion of latest.txt. Also:

Restores case of keywords in qb64.bas.
This commit is contained in:
Fellippe Heitor 2021-02-03 14:26:17 -03:00
parent 82378d2486
commit ef8de59aee
3 changed files with 14294 additions and 14294 deletions

View file

@ -7,7 +7,7 @@ Set-Location ..
$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}/"
Set-Content -Path latest.txt -NoNewline -Value $Filename
aws s3 cp latest.txt "s3://${Bucket}/win-${Env:PLATFORM}/"
foreach ($f in $OldFiles) {
aws s3 rm "s3://$Bucket/$f"
}
aws s3 cp latest.txt "s3://${Bucket}/win-${Env:PLATFORM}/"

View file

@ -10,7 +10,7 @@ tar --create --auto-compress --file ${filename} --exclude-from=qb64/.ci/common-e
current_files=$(aws --output text --query 'Contents[].Key' s3api list-objects --bucket ${BUCKET} --prefix ${OS})
aws s3 cp ${filename} s3://${BUCKET}/${OS}/
echo -n $(basename "${filename}") > latest.txt
aws s3 cp latest.txt s3://${BUCKET}/${OS}/
for f in $current_files; do
aws s3 rm s3://${BUCKET}/$f
done
aws s3 cp latest.txt s3://${BUCKET}/${OS}/

File diff suppressed because it is too large Load diff