Unverified Commit 587c6858 authored by gabriel klawitter's avatar gabriel klawitter Committed by GitHub
Browse files

ci: fix subdirectory upload to s3 (#1398)

parent bc6e1e77
Pipeline #100404 passed with stages
in 20 minutes
......@@ -253,8 +253,8 @@ publish-s3-release:
- echo "uploading objects to https://${BUCKET}/${PREFIX}/${VERSION}"
- aws s3 sync ./artifacts/ s3://${BUCKET}/${PREFIX}/${VERSION}/
- echo "update objects at https://${BUCKET}/${PREFIX}/${EXTRATAG}"
- for file in ./artifacts/*; do
name="$(basename ${file})";
- find ./artifacts -type f | while read file; do
aws s3api copy-object
--copy-source ${BUCKET}/${PREFIX}/${VERSION}/${name}
--bucket ${BUCKET} --key ${PREFIX}/${EXTRATAG}/${name};
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment