Closed devoptimate closed 5 months ago
wingetcreate update Optimate.OptimateSOLIDWORKSPlugin `
--urls $installerUrl `
--version $productVersion `
--token $githubAccessToken `
--prtitle "Updating Optimate.OptimateSOLIDWORKSPlugin to Version $productVersion" `
--submit
@vedantmgoyal2009 thanks a lot, that worked
Brief description of your issue
We're currently trying to get wingetcreate to run in our GitLab CI pipeline. From our CI definition, we call a powershell script, which takes care of preparing a windows environment, installing wingetcreate and - as the last step - calling
wingetcreate update
.Instead of targeting our package (Optimate.OptimateSOLIDWORKSPlugin) it tries to target a package called "true"
From the output it seems like a trivial syntax error in the script, but I am unfortunately not an expert of PowerShell programming and can't pinpoint the problem.
Steps to reproduce
We execute the following PowerShell function. Please note the last call to
wingetcreate update
.Expected behavior
Calling this script with the correct params installs all dependencies required by wingetcreate, installs wingetcreate and uses it to update the package manifest as a PR.
Actual behavior
Upon calling wingetcreate, we get the following output:
Since the only occurrence of
true
in this command is the argument passed with the --submit flag, I suppose that it comes from there.Is this a bug, and if not, how can I fix the command and direct it to the manifest of
Optimate.OptimateSOLIDWORKSPlugin
?Environment