diff --git a/.travis-deploy-release.tmpl.json b/.travis-deploy-release.tmpl.json index 9950bd629..435e3dd82 100644 --- a/.travis-deploy-release.tmpl.json +++ b/.travis-deploy-release.tmpl.json @@ -13,7 +13,7 @@ }, "files": [ - {"includePattern": "main/buildkit/target/(buildkit-[a-z]+\\.zip)", "uploadPattern": "/$1"} + {"includePattern": "main/buildkit/target/(buildkit-[a-z]+\\.zip)", "uploadPattern": "/$TRAVIS_TAG/$1"} ], "publish": true } diff --git a/.travis-deploy-snapshot.json b/.travis-deploy-snapshot.json index 28ba30f43..fa3897a4d 100644 --- a/.travis-deploy-snapshot.json +++ b/.travis-deploy-snapshot.json @@ -9,7 +9,7 @@ }, "files": [ - {"includePattern": "main/buildkit/target/(buildkit-[a-z]+\\.zip)", "uploadPattern": "/$1"} + {"includePattern": "main/buildkit/target/(buildkit-[a-z]+\\.zip)", "uploadPattern": "/snapshot/$1", "matrixParams": {"override": 1}} ], "publish": true } diff --git a/.travis.yml b/.travis.yml index 7a88859de..05b105162 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,7 +35,6 @@ before_deploy: fi - mvn -fmain/pom.xml clean package -Prelease -DskipTests - export TODAY=`date +'%Y-%m-%d'`; envsubst '$TRAVIS_TAG $TODAY' < .travis-deploy-release.tmpl.json > .travis-deploy-release.json -- cat .travis-deploy-release.json deploy: - provider: bintray # SNAPSHOTS file: .travis-deploy-snapshot.json