Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
587c6858
Unverified
Commit
587c6858
authored
Jul 14, 2020
by
gabriel klawitter
Committed by
GitHub
Jul 14, 2020
Browse files
ci: fix subdirectory upload to s3 (#1398)
parent
bc6e1e77
Pipeline
#100404
passed with stages
in 20 minutes
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
587c6858
...
...
@@ -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}"
-
f
or file
in ./artifacts
/*
; do
name="$
(basename ${file})
";
-
fin
d
./artifacts
-type f | while read file
; do
name="$
{file#./artifacts/}
";
aws s3api copy-object
--copy-source ${BUCKET}/${PREFIX}/${VERSION}/${name}
--bucket ${BUCKET} --key ${PREFIX}/${EXTRATAG}/${name};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment