From e21fbbbb189b2767417980046b9f29d7c5ff094a Mon Sep 17 00:00:00 2001 From: Martyn Inglis Date: Mon, 11 Jan 2016 14:48:14 +0000 Subject: [PATCH] Added build numbers to S3 artifacts --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0c99e6a14..68f1e1881 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,7 +29,7 @@ deploy: access_key_id: AKIAJQPPNM6P6V53SWKA secret_access_key: *1 bucket: notifications-api-codedeploy - key: notifications-api.zip + key: notifications-api-$TRAVIS_BRANCH-$TRAVIS_BUILD_NUMBER-$TRAVIS_COMMIT.zip bundle_type: zip application: notifications-api deployment_group: notifications_api_deployment_group @@ -38,6 +38,6 @@ deploy: before_deploy: - zip -r notifications-api * - mkdir -p dpl_cd_upload -- mv notifications-api.zip dpl_cd_upload/notifications-api.zip +- mv notifications-api.zip dpl_cd_upload/notifications-api-$TRAVIS_BRANCH-$TRAVIS_BUILD_NUMBER-$TRAVIS_COMMIT.zip