/promu

Prometheus Utility Tool

Primary LanguageGoApache License 2.0Apache-2.0

Prometheus Utility Tool CircleCI

Usage

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

promu is the utility tool for building and releasing Prometheus projects

Flags:
  -h, --help                 Show context-sensitive help (also try --help-long and --help-man).
  -c, --config=".promu.yml"  Path to config file
  -v, --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

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

  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.12+

More information

Contributing

Refer to CONTRIBUTING.md

License

Apache License 2.0, see LICENSE.