We have a specific need in our environment to manually package a chef cookbook for eventual publishing to an internally hosted Supermarket site, however we can't use the standard publishing commands to do so (internal requirement). Thus, is there a way to pre-package a Chef cookbook for a Supermarket repository, including all of the required metadata such as version and dependency data, without actually publishing the cookbook? The commands that we see available all seem to include this packaging and publishing step in one go, with no ability to redirect the packaged artifact to the file system instead of uploading/publishing it directly.
Is this possible and does anyone know how one would go about doing this?