try bintray
parent
83aebca473
commit
6488a4e9bb
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue