Skip to content

prometheus/promu

Prometheus Utility Tool CircleCI

Usage

usage: promu [<flags>] <command> [<args> ...]

promu is the utility tool for building and releasing Prometheus projects

Flags:
  -h, --[no-]help            Show context-sensitive help (also try --help-long and --help-man).
  -c, --config=".promu.yml"  Path to config file
  -v, --[no-]verbose         Verbose output

Commands:
help [<command>...]
    Show help.

build [<flags>] [<binary-names>...]
    Build a Go project

check licenses [<flags>] [<location>...]
    Inspect source files for each file in a given directory

check changelog [<flags>]
    Check that CHANGELOG.md follows the guidelines

checksum [<location>...]
    Calculate the SHA256 checksum for each file in the given location

codesign <path>
    Code sign the darwin binary using rcodesign.

crossbuild [<flags>] [<tarballs>]
    Crossbuild a Go project using Golang builder Docker images

info
    Print info about current project and exit

release [<flags>] [<location>...]
    Upload all release files to the Github release

tarball [<flags>] [<location>...]
    Create a tarball from the built Go project

version [<flags>]
    Print the version and exit

.promu.yml config file

See documentation example here

Compatibility

  • Go 1.14+

More information

Contributing

Refer to CONTRIBUTING.md

License

Apache License 2.0, see LICENSE.