try bintray

This commit is contained in:
Henrique Dias 2016-03-03 18:52:27 +00:00
parent 83aebca473
commit 6488a4e9bb
2 changed files with 3 additions and 2 deletions

1
dist/automate.sh vendored
View File

@ -58,3 +58,4 @@ done
cd $MainDir/dist cd $MainDir/dist
sed -i 's/{TIME}/'$(date +%s)'/g' bintray.json sed -i 's/{TIME}/'$(date +%s)'/g' bintray.json
sed -i 's/{PATH}/'${MainDir}'/g' bintray.json

4
dist/bintray.json vendored
View File

@ -5,10 +5,10 @@
"subject": "hacdias" "subject": "hacdias"
}, },
"version": { "version": {
"name": "latest" "name": "{TIME}"
}, },
"files": [{ "files": [{
"includePattern": "dist/release/(.*)", "includePattern": "{PATH}/dist/release/(.*)",
"uploadPattern": "caddy-hugo/{TIME}/$1" "uploadPattern": "caddy-hugo/{TIME}/$1"
}], }],
"publish": true "publish": true