Skip to content

Commit

Permalink
Fix automated output (test a really long commit message to see if it …
Browse files Browse the repository at this point in the history
…gets cut off properly)
  • Loading branch information
itsmeow committed Nov 12, 2019
1 parent 90adf8f commit bae1251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ task setupGithubActions() {
commandLine "echo", "##[set-output name=version;]${project.version}";
}
exec {
commandLine "echo", "##[set-output name=commitlog;]" + "{\"content\":\"A new alpha is available!\",\"embed\":{\"author\":{\"name\":\"itsmeow\",\"url\":\"https://itsmeow.dev/\",\"icon_url\":\"https://itsmeow.dev/icon.png\"},\"title\":\"betteranimalsplus-alpha-${project.version}\",\"url\":\"https://github.com/itsmeow/betteranimalsplus/releases/tag/alpha-${project.version}\",\"color\":14700288,\"description\":\"" + log + "\"}}";
commandLine "echo", "##[set-output name=commitlog;]" + "{\"embeds\":[{\"author\":{\"name\":\"itsmeow\",\"url\":\"https://itsmeow.dev/\",\"icon_url\":\"https://itsmeow.dev/icon.png\"},\"title\":\"betteranimalsplus-alpha-${project.version}\",\"url\":\"https://github.com/itsmeow/betteranimalsplus/releases/tag/alpha-${project.version}\",\"color\":14700288,\"description\":\"" + log + "\"}]}";
}
}
}
Expand Down

0 comments on commit bae1251

Please sign in to comment.