From 6488a4e9bb1479c3f97d3c9598f4561056af0470 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Thu, 3 Mar 2016 18:52:27 +0000 Subject: [PATCH] try bintray --- dist/automate.sh | 1 + dist/bintray.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dist/automate.sh b/dist/automate.sh index 8469b93d..8d8eb3bf 100644 --- a/dist/automate.sh +++ b/dist/automate.sh @@ -58,3 +58,4 @@ done cd $MainDir/dist sed -i 's/{TIME}/'$(date +%s)'/g' bintray.json +sed -i 's/{PATH}/'${MainDir}'/g' bintray.json diff --git a/dist/bintray.json b/dist/bintray.json index 7ba8e28a..f47dc61e 100644 --- a/dist/bintray.json +++ b/dist/bintray.json @@ -5,10 +5,10 @@ "subject": "hacdias" }, "version": { - "name": "latest" + "name": "{TIME}" }, "files": [{ - "includePattern": "dist/release/(.*)", + "includePattern": "{PATH}/dist/release/(.*)", "uploadPattern": "caddy-hugo/{TIME}/$1" }], "publish": true