Commit 15a79e69 authored by cmosh's avatar cmosh

Substitute variables

parent 9b273f36
...@@ -503,10 +503,10 @@ cmd_review() { ...@@ -503,10 +503,10 @@ cmd_review() {
-H "Cache-Control: no-cache" \ -H "Cache-Control: no-cache" \
--user $GITHUB_USERNAME:$GITHUB_TOKEN \ --user $GITHUB_USERNAME:$GITHUB_TOKEN \
-d '{ -d '{
"title":"$GITHUB_USERNAME submitted $BRANCH branch for review", "title":"'"$GITHUB_USERNAME"' submitted '"$BRANCH"' branch for review",
"head":"'"$BRANCH"'", "head":"'"$BRANCH"'",
"base":"develop", "base":"develop",
"body":"'"$GITHUB_USERNAME"' is asking for code review. Total time taken:$FINALTIME expected time was $TIME_EXPECTED hour(s), Time spent on breaks was $TOTAL_TIME_OFF -- message by gitflow", "body":"'"$GITHUB_USERNAME"' is asking for code review. Total time taken:'"$FINALTIME"' expected time was '"$TIME_EXPECTED"' hour(s), Time spent on breaks was '"$TOTAL_TIME_OFF"' -- message by gitflow",
"maintainer_can_modify": true "maintainer_can_modify": true
}' \ }' \
"https://api.github.com/repos/dreidev/gitflow/pulls" "https://api.github.com/repos/dreidev/gitflow/pulls"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment