Skip to content

Commit

Permalink
v6: Update README on name normalization breaking change (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
qetza authored Mar 19, 2024
1 parent 3dd89c0 commit 4d825ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ Please refer to the [release page](https://github.com/qetza/replacetokens-task/r
## Breaking changes in v6
The task was completely rewritten to use the npm package [@qetza/replacetokens](https://www.npmjs.com/package/@qetza/replacetokens) and be more similar with the new [ReplaceTokens GitHub Actions](https://github.com/marketplace/actions/replacetokens):
- support only node 16 (mininum agent version 2.206.1)
- updated to [fast-glob](https://github.com/mrmlnc/fast-glob) for glob pattern
- tokens **must** match real variable names and not normalized names done by the Azure Pipelines agent (token `BUILD_DEFINITIONNAME` will **not** match build variable `Build.DefinitionName`)
- renamed input _targetFiles_ to _sources_
- migrated to `fast-glob` for glob patterns causing syntax changes (must use forward slash (`/`) for directory separator whatever the OS)
- migrated to [fast-glob](https://github.com/mrmlnc/fast-glob) for glob patterns causing syntax changes (must use forward slash (`/`) for directory separator whatever the OS)
- removed support for comma-separated paths in _targetFiles_
- renamed _encoding_ value `win1252` to `windows1252`
- renamed _escapeType_ to _escape_
Expand Down
4 changes: 2 additions & 2 deletions tasks/ReplaceTokensV6/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ Please refer to the [release page](https://github.com/qetza/replacetokens-task/r
## Breaking changes in v6
The task was completely rewritten to use the npm package [@qetza/replacetokens](https://www.npmjs.com/package/@qetza/replacetokens) and be more similar with the new [ReplaceTokens GitHub Actions](https://github.com/marketplace/actions/replacetokens):
- support only node 16 (mininum agent version 2.206.1)
- updated to [fast-glob](https://github.com/mrmlnc/fast-glob) for glob pattern
- tokens **must** match real variable names and not normalized names done by the Azure Pipelines agent (token `BUILD_DEFINITIONNAME` will **not** match build variable `Build.DefinitionName`)
- renamed input _targetFiles_ to _sources_
- migrated to `fast-glob` for glob patterns causing syntax changes (must use forward slash (`/`) for directory separator whatever the OS)
- migrated to [fast-glob](https://github.com/mrmlnc/fast-glob) for glob patterns causing syntax changes (must use forward slash (`/`) for directory separator whatever the OS)
- removed support for comma-separated paths in _targetFiles_
- renamed _encoding_ value `win1252` to `windows1252`
- renamed _escapeType_ to _escape_
Expand Down

0 comments on commit 4d825ee

Please sign in to comment.