Sign inSign up

getsentry/craft

By getsentry

Updated 8 days ago

The universal Sentry release CLI 🚀

Image
0

10K+

getsentry/craft repository overview


Craft: Universal Release Tool (And More)

Travis GitHub release npm version license

craft is a command line tool that helps to automate and pipeline package releases. It suggests, and then enforces a specific workflow for managing release branches, changelogs, artifact publishing, etc.

Usage

$ docker run --rm -v $(pwd):/workspace getsentry/craft -h
craft <command>

Commands:
  craft prepare NEW-VERSION  🚢 Prepare a new release branch
                          [aliases: p, prerelease, prepublish, prepare, release]
  craft publish NEW-VERSION  🛫 Publish artifacts           [aliases: pp, publish]

Options:
  --no-input     Suppresses all user prompts          [boolean] [default: false]
  --dry-run      Dry run mode: do not perform any real actions
                                                      [boolean] [default: false]
  -v, --version  Show version number                                   [boolean]
  -h, --help     Show help                                             [boolean]

Caveats

  • When interacting with remote GitHub repositories, craft uses by default the "origin" remote. If you have a different setup, set the CRAFT_REMOTE environment variable.

Global Configuration

Global configuration for craft can be done by using environment variables.

In either case, at least the following two values must be configured in order for craft to function properly:

Additional configuration may be required when publishing to specific targets (e.g. TWINE_USERNAME and TWINE_PASSWORD for PyPI target).

See our GitHub page for full documentation.

Tag summary

Content type

Image

Digest

sha256:7879ee353

Size

2.5 GB

Last updated

8 days ago

docker pull getsentry/craft