Skip to content

Commit

Permalink
fix: pass current github ref to release please (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys authored Sep 13, 2022
1 parent f9f0964 commit 78a05fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down
2 changes: 1 addition & 1 deletion lib/content/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down
6 changes: 3 additions & 3 deletions tap-snapshots/test/apply/full-content.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 78a05fe

Please # to comment.