From cff79601e445fa7929a56898a10c5caa15b898e6 Mon Sep 17 00:00:00 2001 From: jekkos Date: Wed, 9 Jun 2021 13:15:30 +0200 Subject: [PATCH] Keep only one zip build per branch (#3110) --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5143612b6..95bf2ead2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,10 +31,10 @@ before_deploy: - date=`date +%Y%m%d%H%M%S` && branch=${TRAVIS_BRANCH} && rev=`git rev-parse --short=6 HEAD` - TRAVIS_TAG=$(echo $branch) - git tag -f "$branch" - - sudo mv dist/opensourcepos.zip "dist/opensourcepos.$date.$branch.$rev.zip" + - sudo mv dist/opensourcepos.zip "dist/opensourcepos.$branch.zip" deploy: provider: releases - file: "dist/opensourcepos.$date.$branch.$rev.zip" + file: "dist/opensourcepos.$branch.zip" name: "$TAG" release_notes_file: WHATS_NEW.txt prerelease: true @@ -45,4 +45,4 @@ deploy: api_key: secure: Ax25mMRDfHVf/HjRwqxYJe2oMnWC4sc2aKIiUxAOviVJJSCl4GMWhcFlUNnFsDcKIg2ofEGMVD6b9cTBuOwPDvymUDFnLNCCgDWve+vRDdWaTkTipn77Qk4c9UO9VvuzlPSKopChefPHlQ0n1rEmAMiKIXuqjUlNGqybW4FLP4E= on: - all_branches: true \ No newline at end of file + all_branches: true