Embeddable Tokens
Tramline has pre-configured βtokensβ to allow for dynamic values in things like:
- Branch names
- Tag names
- Issue filters (e.g. Jira fix versions or labels)
When configuring Tramline, in a variety of places, you'd be able to specify these tokens to dynamically inject values at different lifecycle points of a release (or even non-release situations). The tokens are wrapped between ~
and ~
to allow for easy identification and to not conflict with other known tokens or characters. The token name itself is always written in camelCase.
Available token typesβ
releaseVersionthree-segment SemVer or CalVer- Example:
1.2.3
- Example:
releaseStartDatedate when the release started formatted asYYYY-MM-DD
- Example:
2025-07-22
- Example:
2025-02-28
- Example:
trainNameparameterized / url-friendly name of the train- Example:
production
- Example:
release_ios
- Example:
buildNumberversion code or build number of the current build- Example:
1
- Example:
214000
- Example:
Usageβ
Tokens are currently only supported in release branch names when configuring a train. They will be supported soon for all kinds of branches, tags and issue filters (eg. Jira release labels or fix versions).
- Branches
- Tags
- Issue Filters
Required: None, tramline has defaults
Allowed:
, releaseVersion
, releaseStartDatetrainName
Not allowed: buildNumber
π§ This functionality is a work-in progress and will be available soon! π
π§ This functionality is a work-in progress and will be available soon! π