Skip to content

Commit 8c76c16

Browse files
committed
[ci] Fix wrong indentation in github-releases-api.sh
1 parent 7af1f60 commit 8c76c16

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.travis/github-releases-api.sh

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ function gh_releases_createDraftRelease() {
2020

2121
log_debug "$FUNCNAME: Creating new draft release for tag=$tagName and commit=$targetCommitish"
2222

23-
local request=$(cat <<-EOF
24-
{
25-
"tag_name": "${tagName}",
26-
"target_commitish": "${targetCommitish}",
27-
"name": "${tagName}",
28-
"draft": true
29-
}
30-
EOF
23+
local request=$(cat <<EOF
24+
{
25+
"tag_name": "${tagName}",
26+
"target_commitish": "${targetCommitish}",
27+
"name": "${tagName}",
28+
"draft": true
29+
}
30+
EOF
3131
)
3232

3333
log_debug "POST https://api.github.com/repos/pmd/pmd-eclipse-plugin/releases"
@@ -148,12 +148,12 @@ function gh_release_updateRelease() {
148148
body="${body//$'\n'/\\r\\n}"
149149
body="${body//'"'/\\\"}"
150150

151-
local request=$(cat <<-EOF
152-
{
153-
"name": "${name}",
154-
"body": "${body}"
155-
}
156-
EOF
151+
local request=$(cat <<EOF
152+
{
153+
"name": "${name}",
154+
"body": "${body}"
155+
}
156+
EOF
157157
)
158158

159159
log_debug "PATCH https://api.github.com/repos/pmd/pmd-eclipse-plugin/releases/${releaseId}"

0 commit comments

Comments
 (0)