Skip to content

Publishing module that requires prerelease module fails #1250

@ThomasNieto

Description

@ThomasNieto

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues.

Steps to reproduce

If you try to publish a module that requires a prerelease module it will fail during publishing.

Job logs: https://github.com/anypackage/psresourceget/actions/runs/5523381734/jobs/10074329386

Expected behavior

# Published

Actual behavior

Publish-PSResource $module.ModuleBase -ApiKey $env:NUGET_KEY
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Dependency 'Microsoft.PowerShell.PSResourceGet' was not found in
     | repository 'PSGallery'.  Make sure the dependency is published to the
     | repository before publishing this module.

Error details

No response

Environment data

beta22

Visuals

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions