From 294102b27db7df8716686a92473765b3d34dbc18 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 6 Jun 2017 02:41:27 -0400 Subject: [PATCH] Travis deployment updates Use commit hash as ZIP filename and only build on release channel --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6c8a12f5eb..6411a32ee6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,7 +32,8 @@ script: before_deploy: - mkdir build-zip - cd build - - zip -r ../build-zip/$(date +"%Y-%m-%d")-$TRAVIS_BRANCH-$TRAVIS_COMMIT.zip * + - zip -r ../build-zip/$TRAVIS_COMMIT.zip * + - cd .. deploy: provider: s3 access_key_id: AKIAJFDVJ54MCAEXPQ5Q @@ -45,3 +46,4 @@ deploy: acl: private on: repo: zotero/zotero + condition: "$FX_VERSION = 54.0b"