relizy / SlackOptions
Interface: SlackOptions
Defined in: packages/relizy/src/types.ts:1532
Properties
announcement?
optionalannouncement?:object
Defined in: packages/relizy/src/types.ts:1580
Announcement of a single version (social.slack.announcements): its message, shown before the changelog, and its links, replacing the buttons of the rich blocks format
links
links:
SocialLink[]
message?
optionalmessage?:string
changelog
changelog:
string|SlackReleaseSection[]
Defined in: packages/relizy/src/types.ts:1540
Changelog of a single version (markdown), or the sections of a release of several versions
changelogFormat?
optionalchangelogFormat?:SlackChangelogFormat
Defined in: packages/relizy/src/types.ts:1566
Changelog rendering of the message
Default
'summary'channel?
optionalchannel?:string
Defined in: packages/relizy/src/types.ts:1544
Slack channel ID or name. Required when using token-based auth.
contributors?
optionalcontributors?:string[]
Defined in: packages/relizy/src/types.ts:1570
Contributor names (plain strings, no email/handle). Empty array or undefined → no contributors block.
dryRun?
optionaldryRun?:boolean
Defined in: packages/relizy/src/types.ts:1585
Run without side effects
Default
falsepackages?
optionalpackages?:SlackPackageEntry[]
Defined in: packages/relizy/src/types.ts:1574
Packages bumped in this release. Empty array or undefined → no packages block.
postMaxLength?
optionalpostMaxLength?:number
Defined in: packages/relizy/src/types.ts:1561
Maximum chars of the changelog rendered in the message. Defaults to 2500 in summary format and to no limit in full format.
template?
optionaltemplate?:string
Defined in: packages/relizy/src/types.ts:1556
Custom message template
token?
optionaltoken?:string
Defined in: packages/relizy/src/types.ts:1548
Slack Bot Token. Ignored if webhookUrl is set.
variables
variables:
SocialTemplateVariables
Defined in: packages/relizy/src/types.ts:1536
Variables of the template, and of the header of the rich blocks format
webhookUrl?
optionalwebhookUrl?:string
Defined in: packages/relizy/src/types.ts:1552
Slack Incoming Webhook URL. Takes priority over token.