Browse Source

fix install of s3cmd for publishing releases in cirrus

pull/2094/head
Tristan Sloughter 6 years ago
parent
commit
53328d2854
No known key found for this signature in database GPG Key ID: AAB97DDECCEB8150
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      .cirrus.yml

+ 4
- 2
.cirrus.yml View File

@ -26,7 +26,8 @@ nightly_task:
- test - test
only_if: $BRANCH == "master" only_if: $BRANCH == "master"
script: | script: |
apt install s3cmd
apt-get update
apt-get install -y s3cmd
./bootstrap ./bootstrap
s3cmd --access_key=$ACCESS_KEY --secret_key=$SECRET_KEY put ./rebar3 s3://rebar3-nightly s3cmd --access_key=$ACCESS_KEY --secret_key=$SECRET_KEY put ./rebar3 s3://rebar3-nightly
environment: environment:
@ -40,7 +41,8 @@ release_task:
- test - test
only_if: $CIRRUS_RELEASE != "" only_if: $CIRRUS_RELEASE != ""
script: | script: |
apt install s3cmd
apt-get update
apt-get install -y s3cmd
./bootstrap ./bootstrap
s3cmd --access_key=$ACCESS_KEY --secret_key=$SECRET_KEY put ./rebar3 s3://rebar3 s3cmd --access_key=$ACCESS_KEY --secret_key=$SECRET_KEY put ./rebar3 s3://rebar3

Loading…
Cancel
Save