mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
specify release description
This commit is contained in:
parent
b15f3374d3
commit
64859ff47b
@ -62,10 +62,10 @@ $GOPATH/bin/vbuild --os=freebsd --arch=amd64 --zip --sign #--encrypt
|
||||
$GOPATH/bin/vbuild --os=openbsd --arch=x86 --zip --sign #--encrypt
|
||||
$GOPATH/bin/vbuild --os=openbsd --arch=amd64 --zip --sign #--encrypt
|
||||
|
||||
#RELBODY=$(cat $GOPATH/bin/metadata.txt | jq -R -s -c .)
|
||||
RELBODY="https://www.v2ray.com/chapter_00/01_versions.html"
|
||||
JSON_DATA=$(echo "{}" | jq -c ".tag_name=\"${RELEASE_TAG}\"")
|
||||
JSON_DATA=$(echo ${JSON_DATA} | jq -c ".prerelease=${PRERELEASE}")
|
||||
#JSON_DATA=$(echo ${JSON_DATA} | jq -c ".body=${RELBODY}")
|
||||
JSON_DATA=$(echo ${JSON_DATA} | jq -c ".body=${RELBODY}")
|
||||
RELEASE_ID=$(curl --data "${JSON_DATA}" -H "Authorization: token ${GITHUB_TOKEN}" -X POST https://api.github.com/repos/v2ray/v2ray-core/releases | jq ".id")
|
||||
|
||||
function upload() {
|
||||
|
Loading…
Reference in New Issue
Block a user