Skip to content

Failing to submit manifests #579

@nebula-it

Description

@nebula-it

Brief description of your issue

Unable to submit manifests

Steps to reproduce

Run wingetcreate update Cilium.CiliumCLI -s -v 0.16.23 -u https://github.com/cilium/cilium-cli/releases/download/v0.16.23/cilium-windows-amd64.zip https://github.com/cilium/cilium-cli/releases/download/v0.16.23/cilium-windows-arm64.zip -t <github token>

Expected behavior

It should submit the PR for new version

Actual behavior

Fails and throws this error:

System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.WingetCreateCLI.Commands.BaseCommand.GitHubSubmitManifests(Manifests manifests, String prTitle, Boolean shouldReplace, String replaceVersion)
   at Microsoft.WingetCreateCLI.Commands.UpdateCommand.ExecuteManifestUpdate(List`1 latestManifestContent, CommandExecutedEvent commandEvent)
   at Microsoft.WingetCreateCLI.Commands.UpdateCommand.Execute()
   at Microsoft.WingetCreateCLI.Program.Main(String[] args)

Environment

Windows Package Manager Manifest Creator v1.9.3.0
Copyright (c) Microsoft Corporation. All rights reserved.

Operating System: Microsoft Windows NT 10.0.26100.0
System Architecture: X64

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions