Closed finkinfridom closed 2 weeks ago
this should be the working version
- task: qetza.replacetokens.replacetokens-task.replacetokens@6
displayName: replace tokens in tf and tfvars files
name: replacetokens
inputs:
sources: "**/*json"
- script: |
echo 'defaults : $(replacetokens.defaults)'
echo 'files : $(replacetokens.files)'
echo 'replaced : $(replacetokens.replaced)'
echo 'tokens : $(replacetokens.tokens)'
echo 'transforms: $(replacetokens.transforms)'
displayName: "DEBUG replace tokens in tf and tfvars files"
Hi @finkinfridom, Thanks for raising the issue, documentation is now fixed :smile:
In the readme (and also the documentation into the Visual Studio Marketplace), there is this code sample
unfortunately, the
name
propery has an invalid syntax (the-
char is not allowed) and the script with theecho
statements contains$(
opening braces but endings with}}
which is invalid.Thanks