Skip to content

relizy / TwitterSocialConfig

Interface: TwitterSocialConfig

Defined in: src/types.ts:637

Properties

credentials?

optional credentials: TwitterCredentials

Defined in: src/types.ts:658

Twitter credentials (optional - falls back to environment variables)


enabled?

optional enabled: boolean

Defined in: src/types.ts:642

Enable Twitter posting

Default

ts
false

onlyStable?

optional onlyStable: boolean

Defined in: src/types.ts:648

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

Maximum length of the tweet

Default

ts
280

template?

optional template: string

Defined in: src/types.ts:654

Custom message template Available variables: , , , ,

Default

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

Released under the MIT License.