Octo Pack CLI Repository Metadata

The OCTO CLI

Doesn’t expose the repository meta data

“Repository”
type/url/branch/commit

Do you know how I can set these properties while using octo pack?

Hi Jon,

Thanks for getting in touch! The octo pack command is used to push packages directly to Octopus without needing a .nuspec or .csproj file.

From the Pack link you provided.

Creates a package (.nupkg or .zip) from files on disk, without needing a .nuspec or .csproj

If you have any further thoughts or questions on this, or need any further help at all, please don’t hesitate to let me know.

Best regards,
Daniel

I’m not sure that’s correct?

Octo Pack is used to package without the need for a nuspec or csproj?

My question is that when I package I would like to provide the following meta data:
“Repository”
type/url/branch/commit

Like:

Hi Jon,

Thanks for getting back. I did make a mistake in my previous response, the push command is used to push the package to Octopus after it’s built. However, Octopus is still not able to process the Repository metadata in general. Regardless of the command used, the Repository element is not a feature we currently expose in the portal.

So including it in your .nuspec file will not allow you to view it inside of Octopus.

Sorry for the misunderstanding in my previous reply.

If you have any further questions here I’m happy to help.

Best regards,
Daniel

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.