This extension contains a build/release task for VS Team Services to replace tokens in files with variable values.
- After installing the extension, upload your project to VSTS.
- Go to your VSTS project, click on the Release tab, and create a new release definition.
- Click Add tasks and select Replace Tokens from the Utility category.
- Configure the step.
New in 1.4.1
- Fix missing method issue with new xplat agent (2.104.1)
New in 1.4.0
- Add variables expansion in variable values.
- Escape token prefix and suffix in regex pattern.
New in 1.3.1
- Fix wrong encoding constructors parameters.
New in 1.3.0
- Replaced parameter Fail on missing with Action in Missing variables group.
- Add Keep token parameter in 'Missing variables' group.
- Fix issue on empty file.
New in 1.2.0
- Add Root directory task parameter to configure file search root directory (contributed by Jesse Houwing).
- Update Target files task parameter to support newline-separator (contributed by Jesse Houwing).