PowerShell / DSC

This repo is for the DSC v3 project
MIT License
135 stars 22 forks source link

Change build to have `-UseCFS` switch otherwise uses crates-io #483

Open SteveL-MSFT opened 4 days ago

SteveL-MSFT commented 4 days ago

PR Summary

Needed to change the build to replace crates-io with the powershell feed to be compliant, but if build.ps1 -UseCFS is NOT specified, we replace it back with crates-io. The change uses the equivalent env var as it takes precedence. This will ensure that the release build is compliant while not impacting community builds or CI. This also removes the injected lines in config.toml that replaces with powershell feed since that is now the default in the config.toml file.