Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 1.91 KB

pufctl_bump.md

File metadata and controls

56 lines (40 loc) · 1.91 KB

pufctl bump

bump the semantic version of a module

Synopsis

The pufctl bump command allows you "bump" (increment by 1) a module's semantic version, if it has one. You must use valid module name slugs, -, as command arguments.

The command will look for a semver in the modules properties, specifically the :ref and :tag symbols.

The command works with both regular semver strings, as well as semver strings that have a leading "v".

By default, pufctl bump increments the Patch portion of the module's semver (x.y.Z). Which portion of the semver gets bumped can be changed with flags.

pufctl bump [module]... [flags]

Options

  -h, --help    help for bump
  -X, --major   bump Major version (X.y.z)
  -Y, --minor   bump Minor version (x.Y.z)

Options inherited from parent commands

      --config string              path to config file (default "/home/sharkdeth/.pufctl.yaml")
  -y, --confirm                    skip all confirmation checks
      --forge-api string           Puppet Forge API URL (default "https://forgeapi-cdn.puppet.com")
  -o, --out-file string            Write command output or changed Puppetfile to specified file
      --pass string                Forge / Git authentication password
  -p, --puppetfile string          path to the Puppetfile to parse (default "./Puppetfile")
      --puppetfile-branch string   The branch to use for a Puppetfile from Git (default "production")
  -s, --show                       Show Puppetfile after each command
      --ssh-key string             Path to your SSH key (default "/home/sharkdeth/.ssh/id_rsa")
      --token string               Forge / Git authentication token
      --user string                Forge / Git authentication username
  -v, --verbose                    verbose logging

SEE ALSO

  • pufctl - pufctl is a multitool for Puppetfiles
Auto generated by spf13/cobra on 24-Aug-2020