Skip to content

relizy / TwitterSocialConfig

Interface: TwitterSocialConfig

Defined in: src/types.ts:674

Properties

credentials?

optional credentials?: TwitterCredentials

Defined in: src/types.ts:695

Twitter credentials (optional - falls back to environment variables)


enabled?

optional enabled?: boolean

Defined in: src/types.ts:679

Enable Twitter posting

Default

ts
false

onlyStable?

optional onlyStable?: boolean

Defined in: src/types.ts:685

Skip Twitter posting for prerelease versions (alpha, beta, rc, etc.) Only stable versions will be posted to Twitter

Default

ts
true

postMaxLength?

optional postMaxLength?: number

Defined in: src/types.ts:700

Maximum length of the tweet

Default

ts
280

template?

optional template?: string

Defined in: src/types.ts:691

Custom message template Available variables: , , , ,

Default

ts
'🚀 {{projectName}} {{newVersion}} is out!\n\n{{changelog}}\n\n{{releaseUrl}}\n{{changelogUrl}}'

Released under the MIT License.