gopack

command module
v0.4.0-beta3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

README

gopack

Release

gopack is a small utility designed to pack a local Go module into a Zip file which can then be distributed using a private Go module registry (like Cloudsmith).

Install

Download the appropriate version for your platform from gopack Releases. Once downloaded, the binary can be run from anywhere. You don’t need to install it into a global location. This works well for shared hosts and other systems where you don’t have a privileged account.

Ideally, you should install it somewhere in your PATH for easy use. /usr/local/bin is the most probable location.

Usage

gopack has a single required argument, the version number. Assuming you have a module checked out in the current directory, you can run gopack as follows:

$ gopack v1.0.1

If all goes well you should then see the file v1.0.1.zip in the current directory. If your module lives in a different directory, you can pass that as the second argument:

$ gopack v1.2.3 ../module/lives/here/

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL