Add git revision to bintray zip

This commit is contained in:
jekkos
2017-08-05 22:12:05 +02:00
committed by jekkos
parent 991042a0f6
commit 0ab72d8719
2 changed files with 2 additions and 2 deletions

View File

@@ -9,6 +9,7 @@ before_install:
- curl -L https://github.com/docker/compose/releases/download/1.7.1/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- rev=`git rev-parse HEAD` sed -i "s/\\$1/\\$1-$rev"
script:
- docker run --rm -v $(pwd):/app composer/composer install
- docker run --rm -it -v $(pwd):/app -w /app digitallyseamless/nodejs-bower-grunt sh -c "npm install && bower install && grunt package"

View File

@@ -21,8 +21,7 @@
"files":
[
{"includePattern": "dist/(.*)", "uploadPattern": "$1"},
{"includePattern": "docs/(.*)", "uploadPattern": "docs/$1"}
{"includePattern": "dist/(.*)(\..*)", "uploadPattern": "$1.$2"}
],
"matrixParams": {
"override": 1