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β
- ~releaseVersion~ three-segment SemVer or CalVer
- Example:
1.2.3
- Example:
- ~releaseStartDate~ date when the release started formatted as
YYYY-MM-DD
- Example:
2025-07-22
- Example:
2025-02-28
- Example:
- ~trainName~ parameterized / url-friendly name of the train
- Example:
production
- Example:
release_ios
- Example:
- ~buildNumber~ version code or build number of the current build
- Example:
1
- Example:
214000
- Example:
Usageβ
info
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:
Not allowed:
Allowed:
~releaseVersion~
, ~releaseStartDate~
, ~trainName~
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! π