Skip to content

fix snk key passthrough in pp-plugin and pp-workflow-activity - #132

Open
zekelinAlex wants to merge 2 commits into
TALXIS:masterfrom
zekelinAlex:users/alexander.zekelin/snk-passthrough-fixes
Open

fix snk key passthrough in pp-plugin and pp-workflow-activity#132
zekelinAlex wants to merge 2 commits into
TALXIS:masterfrom
zekelinAlex:users/alexander.zekelin/snk-passthrough-fixes

Conversation

@zekelinAlex

Copy link
Copy Markdown
Contributor

Passing --SigningKeyFilePath broke when snk auto-generation was added: the engine substitutes the value into the placeholder comparison inside the init script too, so pp-plugin always decided no key was passed and generated a fresh one (relative paths also resolved from the output folder, not from where dotnet new ran). In pp-workflow-activity the init script wasn't wired into template.json at all, so the key and --Company did nothing.

Now a provided key is found (relative paths are searched up the parent folders), copied into the project and referenced by file name in the csproj. A nonexistent path fails the post action. Without the parameter nothing changes.

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.

1 participant