summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2019-05-30 16:23:30 -0600
committerTristan Sloughter <t@crashfast.com>2019-05-30 16:23:30 -0600
commit53328d2854b4d53a8f49cb69c1285a9a5238360a (patch)
tree7e56b17fa33097cae62c92b9e27d7e78c7926d48
parentf47947c83458d8c19dce68f4465ad62486ce0ff3 (diff)
fix install of s3cmd for publishing releases in cirrus
-rw-r--r--.cirrus.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index d113248..de7a879 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -26,7 +26,8 @@ nightly_task:
- test
only_if: $BRANCH == "master"
script: |
- apt install s3cmd
+ apt-get update
+ apt-get install -y s3cmd
./bootstrap
s3cmd --access_key=$ACCESS_KEY --secret_key=$SECRET_KEY put ./rebar3 s3://rebar3-nightly
environment:
@@ -40,7 +41,8 @@ release_task:
- test
only_if: $CIRRUS_RELEASE != ""
script: |
- apt install s3cmd
+ apt-get update
+ apt-get install -y s3cmd
./bootstrap
s3cmd --access_key=$ACCESS_KEY --secret_key=$SECRET_KEY put ./rebar3 s3://rebar3