<commit_before># Heroku Builds

Heroku CLI plugin to list and create builds for Heroku apps.

## Use

### Installation

    heroku plugins:install heroku-builds

### List builds

    heroku builds -a example-app

Lists 10 most recently created builds for `example-app`

### Create build from local dir

    heroku builds:create -a example-app

Creates a `.tar.gz` archive from the current working directory, uploads the archive to Heroku and creates a build from the contents of the archive. Build output is streamed to `stderr`. Hitting ctrl+c will not cancel the build and release. Currently the entire contents of the directory is added to the archive, including `.git`. Items matching `.gitignore` or not excluded.

You can pass an optional `--version` argument in lieu of a git commit messages. Example:

    heroku builds:create --version "added foo feature" -a example-app

### Create build from tarball URL

If you pass a `--source-url` argument to the `create` command, a build will be created from the contents of a tarball found at the URL. The current working directory contents is not used. Example:

    builds:create --source-url https://github.com/heroku/node-js-sample/archive/master.tar.gz -a example-app<commit_msg>fix missing command<commit_after># Heroku Builds

Heroku CLI plugin to list and create builds for Heroku apps.

## Use

### Installation

    heroku plugins:install heroku-builds

### List builds

    heroku builds -a example-app

Lists 10 most recently created builds for `example-app`

### Create build from local dir

    heroku builds:create -a example-app

Creates a `.tar.gz` archive from the current working directory, uploads the archive to Heroku and creates a build from the contents of the archive. Build output is streamed to `stderr`. Hitting ctrl+c will not cancel the build and release. Currently the entire contents of the directory is added to the archive, including `.git`. Items matching `.gitignore` or not excluded.

You can pass an optional `--version` argument in lieu of a git commit messages. Example:

    heroku builds:create --version "added foo feature" -a example-app

### Create build from tarball URL

If you pass a `--source-url` argument to the `create` command, a build will be created from the contents of a tarball found at the URL. The current working directory contents is not used. Example:

    heroku builds:create --source-url https://github.com/heroku/node-js-sample/archive/master.tar.gz -a example-app
{'fraction_non_alphanumeric': 0.07335751713018944, 'fraction_numerical': 0.0016122531237404273, 'mean_word_length': 3.9051383399209487, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6731492', 'n_tokens_mistral': 665, 'n_tokens_neox': 645, 'n_words': 338}