Commit c7b1153f authored by zauberstuhl's avatar zauberstuhl

Replace static UPDATE_CHANNEL variable

parent 647e3530
Pipeline #956 passed with stages
in 16 minutes and 48 seconds
......@@ -8,7 +8,6 @@ variables:
POSTGRES_DB: ganggo
POSTGRES_USER: postgres
POSTGRES_PASSWORD: ""
UPDATE_CHANNEL: alpha
stages:
- install
- test
......
......@@ -6,7 +6,7 @@ API=https://api.bintray.com
# BINTRAY_USER=$1
# BINTRAY_API_KEY=$2
# BINTRAY_REPO=$3
PCK_NAME=${UPDATE_CHANNEL}
PCK_NAME=$(echo $VERSION |sed 's#^v[\.0-9\-]*\([a-z]*\)[\.0-9]*$#\1#')
CURL="curl -u${BINTRAY_USER}:${BINTRAY_API_KEY} -H Content-Type:application/json -H Accept:application/json"
data="{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment