mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-25 00:44:03 -04:00
Keep only one zip build per branch (#3110)
This commit is contained in:
@@ -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
|
||||
all_branches: true
|
||||
|
||||
Reference in New Issue
Block a user