Allows the use of both Credential and ApiKey to be used.
Closes #29
Description
Some authenticated feeds (or all the ones I've used) require both the Credential and ApiKey parameters to be used. This changes both the Publish psake task and the Publish-PSBuildModule to use either or both.
Related Issue
29
Motivation and Context
Allows publishing modules to authenticated feeds that require both a Credential and ApiKey parameter.
How Has This Been Tested?
I have a build process I use for internal modules that this change has been tested on and it successfully publishes the module on an external feed and is able to also check that feed for dependent internal modules.
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[X] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Allows the use of both Credential and ApiKey to be used.
Closes #29
Description
Some authenticated feeds (or all the ones I've used) require both the Credential and ApiKey parameters to be used. This changes both the Publish psake task and the Publish-PSBuildModule to use either or both.
Related Issue
29
Motivation and Context
Allows publishing modules to authenticated feeds that require both a Credential and ApiKey parameter.
How Has This Been Tested?
I have a build process I use for internal modules that this change has been tested on and it successfully publishes the module on an external feed and is able to also check that feed for dependent internal modules.
Types of changes
Checklist: