-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: UniversalPackages@0 fails with Invalid versionOption/versionPublishSelector provided when it is set #18975
Comments
I've just started seeing this too, and I suspect you're correct - that line by @magleaso seems to be using I've also opened a discussion on the Developer Community to try and get some more eyes on this at MSFT - it's breaking all of our pipelines that publish to Artifact feeds at the moment. https://developercommunity.visualstudio.com/t/Pipelines-step-UniversalPackages0-fails/10468643 |
We are also experiencing this issue as well. Any workaround as of the moment? |
Experiencing same issue as well. |
As a short-term fix, we ended up using the Azure REST API to fetch the current version of an artifact, then just increment that and pass it into the custom version field. Custom is the only one that isn't affected by this. |
Workaround for now is to get the artifact file and manually publish via azure-cli to the artifact feed. |
As a workaround I tried this and it worked: |
@katydecorah thanks for reporting this issue! Let us fix it. |
Seeing the same issue here. |
Seeing the same issue from today morning |
We have rolled back the bad task version in production (0.228.0) and we're in the progress of hotfixing. Apologies for the disruption, thanks for reporting the issue |
With the new .229 release this appears fixed for Classic too where you can't pin a minor version. This can be closed now I believe. |
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days |
Task name
UniversalPackages
Task version
0
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
windows
Task log
Relevant log output
Aditional info
I receive the same error when trying the other keywords (major, minor) and when omitting the property.
Perhaps, this line:
https://github.com/microsoft/azure-pipelines-tasks/blame/bb4efb4f3ab60545efddcc74f658628ca641cd16/Tasks/UniversalPackagesV0/universalpublish.ts#L91
Should be:
The text was updated successfully, but these errors were encountered: