Skip to content
Snippets Groups Projects
Unverified Commit 3736c379 authored by Alexander Turenko's avatar Alexander Turenko
Browse files

Merge remote-tracking branch 'origin/1.7' into 1.9

parents cea113cf 7ef5be2e
No related branches found
No related tags found
No related merge requests found
......@@ -85,8 +85,20 @@ source:
git clone https://github.com/packpack/packpack.git packpack
TARBALL_COMPRESSOR=gz packpack/packpack tarball
# Push alpha and beta versions to <major>x bucket (say, 2x),
# stable to <major>.<minor> bucket (say, 2.2).
MAJOR_VERSION=$(word 1,$(subst ., ,$(TRAVIS_BRANCH)))
MINOR_VERSION=$(word 2,$(subst ., ,$(TRAVIS_BRANCH)))
BUCKET=tarantool.$(MAJOR_VERSION).$(MINOR_VERSION).src
ifeq ($(MINOR_VERSION),0)
BUCKET=tarantool.$(MAJOR_VERSION)x.src
endif
ifeq ($(MINOR_VERSION),1)
BUCKET=tarantool.$(MAJOR_VERSION)x.src
endif
source_deploy:
pip install awscli --user
aws --endpoint-url "${AWS_S3_ENDPOINT_URL}" s3 \
cp build/*.tar.gz "s3://tarantool-${TRAVIS_BRANCH}-src/" \
cp build/*.tar.gz "s3://${BUCKET}/" \
--acl public-read
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment