Skip to content

relizy / TwitterSocialConfig

Interface: TwitterSocialConfig

Defined in: src/types.ts:587

Properties

credentials?

optional credentials: TwitterCredentials

Defined in: src/types.ts:608

Twitter credentials (optional - falls back to environment variables)


enabled?

optional enabled: boolean

Defined in: src/types.ts:592

Enable Twitter posting

Default

ts
false

onlyStable?

optional onlyStable: boolean

Defined in: src/types.ts:598

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:613

Maximum length of the tweet

Default

ts
280

template?

optional template: string

Defined in: src/types.ts:604

Custom message template Available variables: , , , ,

Default

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

Released under the MIT License.