Skip to content

nieuwenhoven/vsts-replacetokens-task

 
 

Repository files navigation

Donate

Replace tokens task for Visual Studio Team Services

This extension contains a build/release task for VS Team Services to replace tokens in files with variable values.

How to use the build/release task

  1. After installing the extension, upload your project to VSTS.
  2. Go to your VSTS project, click on the Release tab, and create a new release definition.
  3. Click Add tasks and select Replace Tokens from the Utility category.
  4. Configure the step.

Release notes

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).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PowerShell 64.6%
  • JavaScript 35.4%