johanclasson / vso-agent-tasks

Build and Release Tasks for Visual Studio Online and Team Foundation Server
MIT License
20 stars 16 forks source link

DbUpMigration - Support Variable Substitution #5

Closed johanclasson closed 7 years ago

johanclasson commented 7 years ago

This could be used for example to add configuration data to a database.

My basic idea is to get all environment variables that starts with say dbup. (gci env:dbup_* in PowerShell) and iterate those and call the WithVariable(key, value) function.

https://dbup.readthedocs.io/en/latest/more-info/variable-substitution/