From c0dc4b99f2e37f5364487dd40fb08344ecdaecb4 Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Tue, 13 Sep 2022 14:39:13 -0700 Subject: [PATCH] fix: pass current github ref to release please --- .github/workflows/release-please.yml | 2 +- lib/content/release-please.yml | 2 +- tap-snapshots/test/apply/full-content.js.test.cjs | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index fb933080..79689b41 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -33,7 +33,7 @@ jobs: - run: npm i --ignore-scripts --no-audit --no-fund - name: Release Please id: release - run: npx --offline template-oss-release-please + run: npx --offline template-oss-release-please ${{ github.ref_name }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/lib/content/release-please.yml b/lib/content/release-please.yml index 5dab67d0..da3834fb 100644 --- a/lib/content/release-please.yml +++ b/lib/content/release-please.yml @@ -26,7 +26,7 @@ jobs: {{> setupDeps}} - name: Release Please id: release - run: npx --offline template-oss-release-please + run: npx --offline template-oss-release-please $\{{ github.ref_name }} env: GITHUB_TOKEN: $\{{ secrets.GITHUB_TOKEN }} diff --git a/tap-snapshots/test/apply/full-content.js.test.cjs b/tap-snapshots/test/apply/full-content.js.test.cjs index 5ad8fac3..6e63143f 100644 --- a/tap-snapshots/test/apply/full-content.js.test.cjs +++ b/tap-snapshots/test/apply/full-content.js.test.cjs @@ -454,7 +454,7 @@ jobs: - run: npm i --ignore-scripts --no-audit --no-fund - name: Release Please id: release - run: npx --offline template-oss-release-please + run: npx --offline template-oss-release-please \${{ github.ref_name }} env: GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }} @@ -1380,7 +1380,7 @@ jobs: - run: npm i --ignore-scripts --no-audit --no-fund - name: Release Please id: release - run: npx --offline template-oss-release-please + run: npx --offline template-oss-release-please \${{ github.ref_name }} env: GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }} @@ -2090,7 +2090,7 @@ jobs: - run: npm i --ignore-scripts --no-audit --no-fund - name: Release Please id: release - run: npx --offline template-oss-release-please + run: npx --offline template-oss-release-please \${{ github.ref_name }} env: GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }}