Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Dec 13, 2022
1 parent 8bf82aa commit f41bcc8
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 2 deletions.
29 changes: 28 additions & 1 deletion docs/modules/reference/pages/announce/mattermost.adoc
Expand Up @@ -35,6 +35,11 @@ include::partial$announce/yaml/common-head.adoc[]
# Defaults to `src/jreleaser/templates/mattermost.tpl`.
# icon:dot-circle[]
messageTemplate: path/to/template/mattermost.tpl
# Whether to send the payload as is or wrap it with a `text:` property.
# Defaults to `true`.
# icon:dot-circle[]
structuredMessage: false
----
--
TOML::
Expand All @@ -61,6 +66,11 @@ include::partial$announce/toml/common-head.adoc[]
# Defaults to `src/jreleaser/templates/mattermost.tpl`.
# icon:dot-circle[]
messageTemplate = "path/to/template/mattermost.tpl"
# Whether to send the payload as is or wrap it with a `text:` property.
# Defaults to `true`.
# icon:dot-circle[]
structuredMessage = false
----
--
JSON::
Expand All @@ -86,7 +96,12 @@ include::partial$announce/json/common-head.adoc[]
// Review the available xref:reference:name-templates.adoc[].
// Defaults to `src/jreleaser/templates/mattermost.tpl`.
// icon:dot-circle[]
"messageTemplate": "path/to/template/mattermost.tpl"
"messageTemplate": "path/to/template/mattermost.tpl",
// Whether to send the payload as is or wrap it with a `text:` property.
// Defaults to `true`.
// icon:dot-circle[]
"structuredMessage": false
include::partial$announce/json/common-footer.adoc[]
----
--
Expand Down Expand Up @@ -119,6 +134,13 @@ include::partial$announce/maven/common-head.adoc[]
icon:dot-circle[]
-->
<messageTemplate>path/to/template/mattermost.tpl</messageTemplate>
<!--
Whether to send the payload as is or wrap it with a `text:` property.
Defaults to `true`.
icon:dot-circle[]
-->
<structuredMessage>false</structuredMessage>
include::partial$announce/maven/common-footer.adoc[]
----
--
Expand Down Expand Up @@ -146,6 +168,11 @@ include::partial$announce/gradle/common-head.adoc[]
// Defaults to `src/jreleaser/templates/mattermost.tpl`.
// icon:dot-circle[]
messageTemplate = 'path/to/template/mattermost.tpl'
// Whether to send the payload as is or wrap it with a `text:` property.
// Defaults to `true`.
// icon:dot-circle[]
structuredMessage = false
include::partial$announce/gradle/common-footer.adoc[]
----
--
Expand Down
29 changes: 28 additions & 1 deletion docs/modules/reference/pages/announce/webhooks.adoc
Expand Up @@ -67,6 +67,11 @@ announce:
# Defaults to `src/jreleaser/templates/myWebhook.tpl`.
# icon:dot-circle[]
messageTemplate: path/to/template/myWebhook.tpl
# Whether to send the payload as is or wrap it with the `${messageProperty}` property.
# Defaults to `true`.
# icon:dot-circle[]
structuredMessage: false
----
--
TOML::
Expand Down Expand Up @@ -122,6 +127,11 @@ TOML::
# Defaults to `src/jreleaser/templates/myWebhook.tpl`.
# icon:dot-circle[]
messageTemplate = "path/to/template/myWebhook.tpl"
# Whether to send the payload as is or wrap it with the `${messageProperty}` property.
# Defaults to `true`.
# icon:dot-circle[]
structuredMessage = false
----
--
JSON::
Expand Down Expand Up @@ -183,7 +193,12 @@ JSON::
// Review the available xref:reference:name-templates.adoc[].
// Defaults to `src/jreleaser/templates/myWebhook.tpl`.
// icon:dot-circle[]
"messageTemplate": "path/to/template/myWebhook.tpl"
"messageTemplate": "path/to/template/myWebhook.tpl",
// Whether to send the payload as is or wrap it with the `${messageProperty}` property.
// Defaults to `true`.
// icon:dot-circle[]
"structuredMessage": false
}
}
}
Expand Down Expand Up @@ -274,6 +289,13 @@ Maven::
icon:dot-circle[]
-->
<messageTemplate>path/to/template/myWebhook.tpl</messageTemplate>
<!--
Whether to send the payload as is or wrap it with the `${messageProperty}` property.
Defaults to `true`.
icon:dot-circle[]
-->
<structuredMessage>false</structuredMessage>
</myWebhook>
</webhooks>
</announce>
Expand Down Expand Up @@ -338,6 +360,11 @@ jreleaser {
// Defaults to `src/jreleaser/templates/myWebhook.tpl`.
// icon:dot-circle[]
messageTemplate = 'path/to/template/myWebhook.tpl'
// Whether to send the payload as is or wrap it with the `${messageProperty}` property.
// Defaults to `true`.
// icon:dot-circle[]
structuredMessage = false
}
}
}
Expand Down

0 comments on commit f41bcc8

Please sign in to comment.