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

Enabled use of Evolve CLI Placeholders with ':' in their value #189

Merged
merged 1 commit into from Feb 28, 2023

Conversation

Zarun1
Copy link
Contributor

@Zarun1 Zarun1 commented Jan 11, 2021

MapPlaceholders function now splits the placeholder string into 2 substrings (key & value). Before, it could split placeholders into 3 or more substrings, and would then ignore the extra substrings. This happened if the placeholder string has more than one ':' character.

This change is useful when using a placeholder to define a file path, for example in a CREATE DATABASE script.

Before this change, a placeholder with the value of "filename:C:\SqlServer\TestDb_data.mdf" will be mistakenly read by Evolve as "filename:C".
After this change, a placeholder with the value of "filename:C:\SqlServer\TestDb_data.mdf" will be correctly read by Evolve as "filename:C:\SqlServer\TestDb_data.mdf".

MapPlaceholders function now splits the placeholder string into 2 substrings (key & value). Before, it could split placeholders into 3 or more substrings and then ignore the extra substrings. This happened if the placeholder has more than one ':' character.

This change is useful when using a placeholder to define a file path, for example in a CREATE DATABASE script.

Before this change, a placeholder with the value of "filename:C:\SqlServer\TestDb_data.mdf" will be mistakenly read by Evolve as "filename:C".
After this change, a placeholder with the value of "filename:C:\SqlServer\TestDb_data.mdf" will be correctly read by Evolve as "filename:C:\SqlServer\TestDb_data.mdf".
@amh9002
Copy link

amh9002 commented Feb 28, 2023

Hello,

Is there any chance this will get merged? We're trying to use placeholders to supply CLR assembly file paths in our deploy pipelines and currently cannot do so.

@lecaillon lecaillon merged commit 059610f into lecaillon:master Feb 28, 2023
@lecaillon
Copy link
Owner

Merged. You can download Evolve 3.2.0-alpha2

@amh9002
Copy link

amh9002 commented Feb 28, 2023

Great, Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants