Skip to content

relizy / TwitterSocialConfig

Interface: TwitterSocialConfig

Defined in: src/types.ts:681

Properties

credentials?

optional credentials?: TwitterCredentials

Defined in: src/types.ts:702

Twitter credentials (optional - falls back to environment variables)


enabled?

optional enabled?: boolean

Defined in: src/types.ts:686

Enable Twitter posting

Default

ts
false

onlyStable?

optional onlyStable?: boolean

Defined in: src/types.ts:692

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

Maximum length of the tweet

Default

ts
280

template?

optional template?: string

Defined in: src/types.ts:698

Custom message template Available variables: , , , ,

Default

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

Released under the MIT License.