microsoft / git

A fork of Git containing Microsoft-specific patches.
http://git-scm.com/
Other
761 stars 92 forks source link

winget deployment error (as of v2.44.0.vfs.0.2) #638

Closed jeffhostetler closed 5 months ago

jeffhostetler commented 5 months ago

After we publish a new release, a GH Action runs to deploy it to WinGet using wingetcreate. This task fails with the following error:

...
Submitting pull request for manifest...

Unable to create a reference to the forked repository. This can be caused when the forked repository is behind by too many commits. Sync your fork and try again.
Error: Process completed with exit code 1.
##[debug]Finishing: Publish manifest with winget-create

This appears to be a know problem with wingetcreate and has been discussed in the following links which may have insight into the problem:

At this point, we are blocked from deploying releases to winget until a fix in wingetcreate is available or there is new guidance on how to use it.

denelon commented 5 months ago

Thanks for cross linking. I'll have one of the engineers on the wingetcreate side of things take a look.

ryfu-msft commented 5 months ago

@jeffhostetler, can you share the fork that is creating the PR and submitting the updated manifest?

jeffhostetler commented 5 months ago

@ryfu-msft It created directly in this fork. After a release is published, an action in .github/workflows/release-winget.yml runs (also in this fork) and tries to submit the artifacts to winget's database.

jeffhostetler commented 5 months ago

We've updated the personal fork and restarted the winget deployment pipeline and it created a PR, so I'm going to close this. Thanks for your help.