Skip to content

Commit

Permalink
增加发布脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
wangwei1237 committed May 21, 2021
1 parent 36e6e36 commit b0735d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion getuploadurl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ upload_url=$(curl -H "Accept: application/vnd.github.v3+json" "${get_release_url
create_release_url="${URL_PREFIX}"
if [ "$upload_url" = "" ]
then
upload_url=$(curl -X POST -H "Accept: application/vnd.github.v3+json" "${create_release_url}?access_token=${token}" -d "{\"tag_name\":\"${tag}\", \"name\":\"libvmaf Build for ${version}\"}" | grep 'upload_url' | cut -d'"' -f4)
upload_url=$(curl -X POST -H "Accept: application/vnd.github.v3+json" "${create_release_url}?access_token=${token}" -d "{\"tag_name\":\"${version}\", \"name\":\"Build for ${version}\"}" | grep 'upload_url' | cut -d'"' -f4)
fi

echo "::set-output name=upload-url::$upload_url"

0 comments on commit b0735d6

Please sign in to comment.