Browse Source

updated build config

Sebastian Stenzel 6 years ago
parent
commit
f16c3d5110
3 changed files with 2 additions and 3 deletions
  1. 1 1
      .travis-deploy-release.tmpl.json
  2. 1 1
      .travis-deploy-snapshot.json
  3. 0 1
      .travis.yml

+ 1 - 1
.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
 }

+ 1 - 1
.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
 }

+ 0 - 1
.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