mirror of
https://github.com/kami-blue/client
synced 2025-04-11 04:01:38 +00:00
formatting for sending branch name
This commit is contained in:
parent
89a4022476
commit
29108eaef9
@ -3,5 +3,5 @@ CURDIR="$(readlink -f ./build/libs/)"
|
||||
JARDIR="$(ls "$CURDIR" | grep "release")"
|
||||
BRANCH="$(git branch | grep "*")"
|
||||
BRANCH="${BRANCH:2}"
|
||||
curl -H "Content-Type: application/json" -X POST -d '{"username": "Github Actions", "content": "Branch: '$BRANCH'"}' "$WEBHOOK"
|
||||
curl -H "Content-Type: application/json" -X POST -d '{"username": "Github Actions", "content": "**Branch:** `'$BRANCH'`"}' "$WEBHOOK"
|
||||
curl -F content=@""$DIR"/"$JARDIR"" "$WEBHOOK"
|
||||
|
Loading…
Reference in New Issue
Block a user