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/.release-please-manifest.json b/.release-please-manifest.json index 411256bc..9965c417 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.1.0" + ".": "4.1.1" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 87c679c8..d82a4bd1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [4.1.1](https://github.com/npm/template-oss/compare/v4.1.0...v4.1.1) (2022-09-13) + +### Bug Fixes + +* [`78a05fe`](https://github.com/npm/template-oss/commit/78a05fe8393dbf9e4d3bd43f2eff4db12921cde5) [#190](https://github.com/npm/template-oss/pull/190) pass current github ref to release please (#190) (@lukekarrys) + ## [4.1.0](https://github.com/npm/template-oss/compare/v4.0.0...v4.1.0) (2022-09-13) ### Features 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/package.json b/package.json index 5973ca30..108c715e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@npmcli/template-oss", - "version": "4.1.0", + "version": "4.1.1", "description": "templated files used in npm CLI team oss projects", "main": "lib/content/index.js", "bin": { 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 }}