Skip to content

relizy / SlackOptions

Interface: SlackOptions ​

Defined in: packages/relizy/src/types.ts:1532

Properties ​

announcement? ​

optional announcement?: 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: SocialLink[]

message? ​

optional message?: 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? ​

optional changelogFormat?: SlackChangelogFormat

Defined in: packages/relizy/src/types.ts:1566

Changelog rendering of the message

Default ​

ts
'summary'

channel? ​

optional channel?: string

Defined in: packages/relizy/src/types.ts:1544

Slack channel ID or name. Required when using token-based auth.


contributors? ​

optional contributors?: string[]

Defined in: packages/relizy/src/types.ts:1570

Contributor names (plain strings, no email/handle). Empty array or undefined → no contributors block.


dryRun? ​

optional dryRun?: boolean

Defined in: packages/relizy/src/types.ts:1585

Run without side effects

Default ​

ts
false

packages? ​

optional packages?: SlackPackageEntry[]

Defined in: packages/relizy/src/types.ts:1574

Packages bumped in this release. Empty array or undefined → no packages block.


postMaxLength? ​

optional postMaxLength?: 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? ​

optional template?: string

Defined in: packages/relizy/src/types.ts:1556

Custom message template


token? ​

optional token?: 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? ​

optional webhookUrl?: string

Defined in: packages/relizy/src/types.ts:1552

Slack Incoming Webhook URL. Takes priority over token.