mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Attempt to push cli to cli repo
This commit is contained in:
@@ -39,7 +39,7 @@ git push
|
||||
git push origin $tag
|
||||
|
||||
# For GitHub
|
||||
url='https://api.github.com/repos/fnproject/fn/releases'
|
||||
url='https://api.github.com/repos/fnproject/cli/releases'
|
||||
output=$(curl -s -u $GH_DEPLOY_USER:$GH_DEPLOY_KEY -d "{\"tag_name\": \"$version\", \"name\": \"$version\"}" $url)
|
||||
upload_url=$(echo "$output" | python -c 'import json,sys;obj=json.load(sys.stdin);print obj["upload_url"]' | sed -E "s/\{.*//")
|
||||
html_url=$(echo "$output" | python -c 'import json,sys;obj=json.load(sys.stdin);print obj["html_url"]')
|
||||
|
||||
Reference in New Issue
Block a user