Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced token3 references with token6 #342

Merged
merged 4 commits into from
Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Pipelines/Templates/build-Solution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,13 @@ steps:

# Third party task to replace tokens in files. The FileTransform above replaces JSON tokens based on their path as opposed to replacing text tokens in a file which can be more error prone in some cases.
# If you aren't using this task it can be safely removed or disabled by setting enabled: false. Sample token: #{VariableNameToReplace}#
- task: qetza.replacetokens.replacetokens-task.replacetokens@3
- task: qetza.replacetokens.replacetokens-task.replacetokens@6
displayName: 'Replace Tokens: deploymentSettings.json'
inputs:
rootDirectory: $(Build.SourcesDirectory)\$(RepoName)\${{parameters.solutionName}}\config\
targetFiles: '**\*deploymentSettings*.json'
actionOnMissing: 'silently continue'
writeBOM: false
root: $(Build.SourcesDirectory)\$(RepoName)\${{parameters.solutionName}}\config\
sources: '**\*deploymentSettings*.json'
missingVarLog: 'off'
addBOM: false
encoding: 'utf-8'
defaultValue: ''
condition: and(succeeded(), or(ne(variables['DeploymentSettingsPath'], ''), ne(variables['CustomDeploymentSettingsPath'], '')))
Expand Down
10 changes: 5 additions & 5 deletions Pipelines/Templates/deploy-Solution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ steps:

# Third party task to replace tokens in files. The FileTransform above replaces JSON tokens based on their path as opposed to replacing text tokens in a file which can be more error prone in some cases.
# If you aren't using this task it can be safely removed or disabled by setting enabled: false. Sample token: #{VariableNameToReplace}#
- task: qetza.replacetokens.replacetokens-task.replacetokens@3
- task: qetza.replacetokens.replacetokens-task.replacetokens@6
displayName: 'Replace Tokens: deploymentSettings.json'
inputs:
rootDirectory: '$(Pipeline.Workspace)'
targetFiles: '**\*deploymentSettings*.json'
actionOnMissing: 'silently continue'
writeBOM: false
root: '$(Pipeline.Workspace)'
sources: '**\*deploymentSettings*.json'
missingVarLog: 'off'
addBOM: false
encoding: 'utf-8'
defaultValue: ''
condition: and(succeeded(), or(ne(variables['DeploymentSettingsPath'], ''), ne(variables['CustomDeploymentSettingsPath'], '')))
Expand Down
2 changes: 1 addition & 1 deletion PowerShell/branch-pipeline-policy.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -841,4 +841,4 @@ function Download-File-to-Location{
}

return $false
}
}
2 changes: 1 addition & 1 deletion devops-tasks-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -4421,7 +4421,7 @@
"doNotSuggest": false,
"ignoreCase": "value",
"enum": [
"replacetokens@3"
"replacetokens@6"
]
},
{
Expand Down
Loading