Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Disable the Powershell self-hosted build process
diff --git a/ b/
index 33c4d745..3891c2ca 100755
--- a/
+++ b/
@@ -1,10 +1,6 @@
#!/usr/bin/env bash
set -e
-if hash powershell 2>/dev/null; then
- echo 'Continuing with `powershell -noprofile -c Start-PSBuild`'
- powershell -noprofile -c "Import-Module ./build.psm1; Start-PSBuild"
echo 'Continuing with full manual build'
## Restore
@@ -56,4 +52,3 @@ EOF
dotnet publish --configuration Linux src/powershell-unix/ --output bin --runtime $rid
echo 'You can run powershell from bin/, but some modules that are normally added by the Restore-PSModule step will not be available.'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.