Revert "Experiment with removing --profile ruby for now"
This reverts commit 6986536488ba23c033c043ef8765438f22df7bf5. We were just missing the secrets.
This commit is contained in:
parent
6986536488
commit
1b8fb4860b
@ -5,6 +5,11 @@
|
||||
# tool/release.sh 3.0.0-rc1
|
||||
|
||||
EXTS='.tar.gz .tar.xz .zip'
|
||||
if [[ -n $AWS_ACCESS_KEY_ID ]]; then
|
||||
AWS_CLI_OPTS=""
|
||||
else
|
||||
AWS_CLI_OPTS="--profile ruby"
|
||||
fi
|
||||
|
||||
ver=$1
|
||||
if [[ $ver =~ ^([1-9]\.[0-9])\.([0-9]|[1-9][0-9]|0-(preview[1-9]|rc[1-9]))$ ]]; then
|
||||
@ -18,5 +23,5 @@ short=${BASH_REMATCH[1]}
|
||||
echo $ver
|
||||
echo $short
|
||||
for ext in $EXTS; do
|
||||
aws s3 cp s3://ftp.r-l.o/pub/tmp/ruby-$ver-draft$ext s3://ftp.r-l.o/pub/ruby/$short/ruby-$ver$ext
|
||||
aws $AWS_CLI_OPTS s3 cp s3://ftp.r-l.o/pub/tmp/ruby-$ver-draft$ext s3://ftp.r-l.o/pub/ruby/$short/ruby-$ver$ext
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user