Windows paths and escaping!!
This commit is contained in:
+2
-2
@@ -71,8 +71,8 @@ let
|
|||||||
"packer init sources"
|
"packer init sources"
|
||||||
"echo packer build -only=\"hyperv-iso.amd64\" -var-file=\"\${distro}\" -var build=\${BUILD} -var cpus=2 -var memory=4096 \${EXCEPT} sources > build.ps1"
|
"echo packer build -only=\"hyperv-iso.amd64\" -var-file=\"\${distro}\" -var build=\${BUILD} -var cpus=2 -var memory=4096 \${EXCEPT} sources > build.ps1"
|
||||||
"echo 'if (-not $?) { throw \"Error in build\" }' >> build.ps1"
|
"echo 'if (-not $?) { throw \"Error in build\" }' >> build.ps1"
|
||||||
"cat .\build.ps1"
|
"cat build.ps1"
|
||||||
"pwsh .\build.ps1"
|
"pwsh .\\build.ps1"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
"Create release" = {
|
"Create release" = {
|
||||||
|
|||||||
Reference in New Issue
Block a user