mirror of
https://codeberg.org/cunicu/cunicu.git
synced 2025-09-27 05:06:02 +08:00
scripts: highlight API response
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
This commit is contained in:
@@ -14,7 +14,8 @@ function request() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function undraft_release() {
|
function undraft_release() {
|
||||||
request releases/$1 -X PATCH -d '{ "draft": false }'
|
request releases/$1 -X PATCH -d '{ "draft": false }' | \
|
||||||
|
jq .
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_draft_release() {
|
function get_draft_release() {
|
||||||
|
Reference in New Issue
Block a user