We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d70ecf commit f313ba9Copy full SHA for f313ba9
approve-deploy-request.sh
@@ -4,8 +4,10 @@
4
5
. authenticate-ps.sh
6
7
-DEPLOY_REQUEST_NUMBER=$1
8
-COMMENT=$2
+DEPLOY_REQUEST_NUMBER="$1"
+COMMENT="$2"
9
+# escape whitespaces in comment with no-break space
10
+COMMENT="$(echo "$COMMENT" | sed -e 's/ /\ /g')"
11
12
. set-db-and-org-and-branch-name.sh
13
pscale deploy-request review "$DB_NAME" "$DEPLOY_REQUEST_NUMBER" --approve --comment "$COMMENT" --org "$ORG_NAME"
0 commit comments