Skip to content

Commit

Permalink
feat(release-please): now supports large files; introduces fork option (
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Sep 17, 2020
1 parent c508713 commit e7d31db
Show file tree
Hide file tree
Showing 6 changed files with 182 additions and 119 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Automate releases with Conventional Commit Messages.
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v2.2.0
- uses: GoogleCloudPlatform/release-please-action@v2.3.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: node
Expand All @@ -40,15 +40,16 @@ Automate releases with Conventional Commit Messages.
| `release-type` | What type of project is this a release for? Reference [Release types supported](#release-types-supported); new types of releases can be [added here](https://github.com/googleapis/release-please/tree/master/src/releasers) |
| `package-name` | A name for the artifact releases are being created for (this might be the `name` field in a `setup.py` or `package.json`) |
| `bump-minor-pre-major` | Should breaking changes before 1.0.0 produce minor bumps? Default `No` |
| `--path` | create a release from a path other than the repository's root |
| `--monorepo-tags` | add prefix to tags and branches, allowing multiple libraries to be released from the same repository. |
| `path` | create a release from a path other than the repository's root |
| `monorepo-tags` | add prefix to tags and branches, allowing multiple libraries to be released from the same repository. |
| `changelog-types` | A JSON formatted String containing to override the outputted changlog sections |

| output | description |
|:---:|---|
| `release_created` | `true` if the release was created, `false` otherwise |
| `upload_url` | Directly related to [**Create a release**](https://developer.github.com/v3/repos/releases/#response-4) API |
| `tag_name` | Directly related to [**Create a release**](https://developer.github.com/v3/repos/releases/#response-4) API |
| `fork` | Should the PR be created from a fork (does not work with `secrets.GITHUB_TOKEN`) |

### Release types supported

Expand Down Expand Up @@ -105,7 +106,7 @@ To output more commit information in the changelog, a JSON formatted String can
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v2.2.0
- uses: GoogleCloudPlatform/release-please-action@v2.3.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: node
Expand All @@ -128,7 +129,7 @@ jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v2.2.0
- uses: GoogleCloudPlatform/release-please-action@v2.3.0
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ inputs:
token:
description: 'GitHub token for creating and grooming release PRs, e.g., secrets.GITHUB_TOKEN'
required: true
fork:
description: 'should the PR be proposed from a fork (does not work with secrets.GITHUB_TOKEN)'
required: false
package-name:
description: 'name of the distributions releases are being created for, e.g., "name" in package.json, or "setup.py"'
required: true
Expand Down

0 comments on commit e7d31db

Please sign in to comment.