From 687255987d0e25878a9d56fd69de09c232bbcea3 Mon Sep 17 00:00:00 2001 From: bcoe Date: Wed, 20 May 2020 21:17:14 -0700 Subject: [PATCH] fix: use the static build helper --- .github/workflows/release-please.yaml | 2 +- dist/index.js | 2 +- index.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index 55e2bcb..017984c 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -7,7 +7,7 @@ jobs: release-please: runs-on: ubuntu-latest steps: - - uses: bcoe/release-please-action@v1.2.0 + - uses: bcoe/release-please-action@v1.0.1 with: token: ${{ secrets.GITHUB_TOKEN }} release-type: node diff --git a/dist/index.js b/dist/index.js index 853fadf..eb40ea2 100644 --- a/dist/index.js +++ b/dist/index.js @@ -3594,7 +3594,7 @@ async function main () { // Next we check for PRs merged since the last release, and groom the // release PR: - const release = ReleasePRFactory.build(releaseType, { + const release = ReleasePRFactory.buildStatic(releaseType, { packageName: packageName, apiUrl: 'https://api.github.com', repoUrl: process.env.GITHUB_REPOSITORY, diff --git a/index.js b/index.js index 513867e..5ec9720 100644 --- a/index.js +++ b/index.js @@ -23,7 +23,7 @@ async function main () { // Next we check for PRs merged since the last release, and groom the // release PR: - const release = ReleasePRFactory.build(releaseType, { + const release = ReleasePRFactory.buildStatic(releaseType, { packageName: packageName, apiUrl: 'https://api.github.com', repoUrl: process.env.GITHUB_REPOSITORY,