mirror of
https://github.com/tealdeer-rs/tealdeer.git
synced 2026-08-09 09:49:10 +02:00
upload-asset script: Change release name
This commit is contained in:
parent
81c30bfb77
commit
8228d31451
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ create_release() {
|
||||||
--header "Authorization: Bearer $token" \
|
--header "Authorization: Bearer $token" \
|
||||||
--header "Content-Type:application/json" \
|
--header "Content-Type:application/json" \
|
||||||
"https://api.github.com/repos/$repo/releases" \
|
"https://api.github.com/repos/$repo/releases" \
|
||||||
-d '{"tag_name":"'"$tag"'","name":"'"${tag/v/Release }"'","draft":true,"body":"'"${description/\"/\\\"}"'"}'
|
-d '{"tag_name":"'"$tag"'","name":"'"${tag/v/Version }"'","draft":true,"body":"'"${description/\"/\\\"}"'"}'
|
||||||
)
|
)
|
||||||
if [ "$http_code" == "201" ]; then
|
if [ "$http_code" == "201" ]; then
|
||||||
echo "Release for tag $tag created."
|
echo "Release for tag $tag created."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue