Skip to content

Conversation

salvois
Copy link

@salvois salvois commented Apr 2, 2025

This adds to .nupkg packages created by octopus package nuget create files required by Open Packaging Conventions, such as:

  • /package/services/metadata/core-properties/<uuid>.psmdcp
  • /_rels/.rels
  • [Content_Types].xml

so that the package contains appropriate metadata that is looked for by repositories such as Artifactory.
Fixes #477

This is my first ride with Go, so please excuse me for some rough edges.
I tried to keep the original style and ways of working of the surrounding code, such as writing files to the file system before adding them to the ZIP package, and not escaping values written into XML files, though they may be useful improvements.

@CLAassistant
Copy link

CLAassistant commented Apr 2, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

octopus package nuget create generates invalid NuGet packages
2 participants