Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
feat(release-please)!: consolidate manifest and individual releasers …
Browse files Browse the repository at this point in the history
…(#398)

Major update to release-please which consolidates the manifest and single
releaser behavior into a single set of strategies, which can be used
on both split and mono-repos.

feat: adds support for draft pull requests.
feat: adds support for draft releases.
refactor!: if switching to manifest releaser, release_created will only be set if "." path is published.
refactor!: switch to using @actions/core getBooleanInput, accepted values for true = ["true", "True", "TRUE"], accepted values for false = ["false", "False", "FALSE"]
  • Loading branch information
bcoe authored Dec 29, 2021
1 parent 0091158 commit 52ffbbe
Show file tree
Hide file tree
Showing 7 changed files with 62,686 additions and 55,450 deletions.
14 changes: 7 additions & 7 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
- uses: GoogleCloudPlatform/release-please-action@v3
with:
release-type: node
package-name: release-please-action
Expand All @@ -37,7 +37,7 @@ Automate releases with Conventional Commit Messages.
```yaml
#...(same as above)
steps:
- uses: GoogleCloudPlatform/release-please-action@v2
- uses: GoogleCloudPlatform/release-please-action@v3
with:
command: manifest
```
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v2
- uses: GoogleCloudPlatform/release-please-action@v3
with:
release-type: node
package-name: release-please-action
Expand All @@ -161,7 +161,7 @@ jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v2
- uses: GoogleCloudPlatform/release-please-action@v3
with:
release-type: node
package-name: release-please-action
Expand All @@ -178,7 +178,7 @@ jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v2
- uses: GoogleCloudPlatform/release-please-action@v3
with:
release-type: node
package-name: release-please-action
Expand All @@ -200,7 +200,7 @@ jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v2
- uses: GoogleCloudPlatform/release-please-action@v3
id: release
with:
release-type: node
Expand Down Expand Up @@ -248,7 +248,7 @@ jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v2
- uses: GoogleCloudPlatform/release-please-action@v3
id: release
with:
release-type: node
Expand Down
30 changes: 19 additions & 11 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,10 @@ inputs:
description: "create a release from a path other than the repository's root"
required: false
default: ''
monorepo-tags:
description: 'add prefix to tags and branches, allowing multiple libraries to be released from the same repository'
required: false
default: false
changelog-path:
description: 'specify a CHANGELOG path other than the root CHANGELOG.md'
required: false
default: ''
changelog-types:
description: 'changlelog commit types'
required: false
default: ''
command:
description: 'release-please command to run, either "github-release", or "release-pr" (defaults to running both)'
required: false
Expand All @@ -56,10 +48,10 @@ inputs:
description: 'branch to open pull release PR against (detected by default)'
required: false
default: ''
pull-request-title-pattern:
description: 'add title pattern to make release PR, defaults to using "chore${scope}: release${component} ${version}".'
changelog-types:
description: 'changlelog commit types'
required: false
default: 'chore${scope}: release${component} ${version}'
default: ''
config-file:
description: 'where can the config file be found in the project?'
required: false
Expand All @@ -84,6 +76,22 @@ inputs:
description: 'configure github repository URL. Default `process.env.GITHUB_REPOSITORY`'
required: false
default: ''
monorepo-tags:
description: 'add prefix to tags and branches, allowing multiple libraries to be released from the same repository'
required: false
default: false
pull-request-title-pattern:
description: 'add title pattern to make release PR, defaults to using "chore${scope}: release${component} ${version}"'
required: false
default: ''
draft:
description: 'mark release as a draft'
required: false
default: false
draft-pull-request:
description: 'mark pull request as a draft'
required: false
default: false

runs:
using: 'node12'
Expand Down
Loading

0 comments on commit 52ffbbe

Please sign in to comment.