From 60ae28e4b20929fc93a249186726c13098fd6019 Mon Sep 17 00:00:00 2001 From: bcoe Date: Thu, 17 Sep 2020 14:04:53 -0700 Subject: [PATCH] fix(build): document working version of release-please --- .github/workflows/release-please.yaml | 20 ++++++++++++++++++-- README.md | 6 +++--- 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index f95f84c..0aadc5b 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -2,14 +2,30 @@ on: push: branches: - main -name: release-please +name: release-please-pr jobs: release-please: runs-on: ubuntu-latest steps: - - uses: GoogleCloudPlatform/release-please-action@31e1a25ccf4f8df92fdb4066e3650a6167e5fe25 + - uses: GoogleCloudPlatform/release-please-action@2.4.0 with: token: ${{ secrets.RELEASE_PR_TOKEN }} release-type: node fork: true package-name: release-please-action + command: release-pr +on: + push: + branches: + - main +name: release-please-release +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: GoogleCloudPlatform/release-please-action@2.4.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} + release-type: node + package-name: release-please-action + command: github-release diff --git a/README.md b/README.md index 5ec24f8..d468296 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Automate releases with Conventional Commit Messages. release-please: runs-on: ubuntu-latest steps: - - uses: GoogleCloudPlatform/release-please-action@v2.3.0 + - uses: GoogleCloudPlatform/release-please-action@v2.4.0 with: token: ${{ secrets.GITHUB_TOKEN }} release-type: node @@ -107,7 +107,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.3.0 + - uses: GoogleCloudPlatform/release-please-action@v2.4.0 with: token: ${{ secrets.GITHUB_TOKEN }} release-type: node @@ -130,7 +130,7 @@ jobs: release-please: runs-on: ubuntu-latest steps: - - uses: GoogleCloudPlatform/release-please-action@v2.3.0 + - uses: GoogleCloudPlatform/release-please-action@v2.4.0 id: release with: token: ${{ secrets.GITHUB_TOKEN }}