From 78a05fe8393dbf9e4d3bd43f2eff4db12921cde5 Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Tue, 13 Sep 2022 14:42:28 -0700 Subject: [PATCH 1/2] fix: pass current github ref to release please (#190) --- .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 }} From c0f6c0657505d0195914e29f502046f6fb596613 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 13 Sep 2022 14:44:06 -0700 Subject: [PATCH 2/2] chore: release 4.1.1 (#191) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .release-please-manifest.json | 2 +- CHANGELOG.md | 6 ++++++ package.json | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) 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/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": {