mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-28 11:17:46 +00:00
ef8de59aee
Restores case of keywords in qb64.bas.
16 lines
635 B
Bash
Executable file
16 lines
635 B
Bash
Executable file
#!/bin/bash
|
|
|
|
OS=$1
|
|
TZ=UTC now=`date +"%F-%H-%M-%S"`
|
|
BUCKET=qb64-development-builds
|
|
filename="/tmp/qb64_${now}_`echo ${GITHUB_SHA} | sed 's/\(.......\).*$/\1/'`_${OS}.tar.gz"
|
|
cd ..
|
|
tar --create --auto-compress --file ${filename} --exclude-from=qb64/.ci/common-exclusion.list --exclude-from=qb64/.ci/$OS-exclusion.list qb64
|
|
|
|
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
|
|
for f in $current_files; do
|
|
aws s3 rm s3://${BUCKET}/$f
|
|
done
|
|
aws s3 cp latest.txt s3://${BUCKET}/${OS}/
|