File Content To Variable is a Build and Release Task for within your Build / Release pipeline.
With this tasks you can save the content of a file to a variable.
This extension can be used to save the content of a specific file within your artifact or source control into a variable.
Within the task two parameters can be specified:
- Source File: The file from which the content needs to be read.
- Variable Name: The name of the variable specify it without $(..)
- Add New Line: THe possibility to add a new line character meaning that you will have a single line variable
For the documentation check the Wiki.
When you like the extension please leave a review. File a issues when you have suggestions or problems with the extension.
Version | Remarks |
---|---|
1.0.0 | Initial version |
2.0.0 | Added a new line functionality |
2.2.0 | Changes tagging and some minor changes |
2.2.1 | Integration into CI & CD |
2.2.6 | Fixed issue with single line |