Skip to content

Commit

Permalink
[patch] manually splitting command
Browse files Browse the repository at this point in the history
  • Loading branch information
robertfmurdock committed May 22, 2023
1 parent 2afd6e1 commit dbb6c93
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,27 @@ tasks {
dependsOn(tag)
val githubRepository = System.getenv("GITHUB_REPOSITORY")
commandLine(
"gh api --method POST -H \"Accept: application/vnd.github+json\" -H \"X-GitHub-Api-Version: 2022-11-28\" /repos/$githubRepository/releases -f tag_name='${tagger.version}' -f name='${tagger.version}' -f body='${tagger.version} -F draft=false -F prerelease=false -F generate_release_notes=false"
.split(" ")
.also { println("release command = $it") },
"gh",
"api",
"--method",
"POST",
"-H",
"Accept: application/vnd.github+json",
"-H",
"X-GitHub-Api-Version: 2022-11-28",
"/repos/$githubRepository/releases",
"-f",
"tag_name='${tagger.version}'",
"-f",
"name='${tagger.version}'",
"-f",
"body='${tagger.version}",
"-F",
"draft=false",
"-F",
"prerelease=false",
"-F",
"generate_release_notes=false",
)
}

Expand Down

0 comments on commit dbb6c93

Please sign in to comment.