Skip to content

Commit 78a05fe

Browse files
authored
fix: pass current github ref to release please (#190)
1 parent f9f0964 commit 78a05fe

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- run: npm i --ignore-scripts --no-audit --no-fund
3434
- name: Release Please
3535
id: release
36-
run: npx --offline template-oss-release-please
36+
run: npx --offline template-oss-release-please ${{ github.ref_name }}
3737
env:
3838
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3939

lib/content/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
{{> setupDeps}}
2727
- name: Release Please
2828
id: release
29-
run: npx --offline template-oss-release-please
29+
run: npx --offline template-oss-release-please $\{{ github.ref_name }}
3030
env:
3131
GITHUB_TOKEN: $\{{ secrets.GITHUB_TOKEN }}
3232

tap-snapshots/test/apply/full-content.js.test.cjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ jobs:
454454
- run: npm i --ignore-scripts --no-audit --no-fund
455455
- name: Release Please
456456
id: release
457-
run: npx --offline template-oss-release-please
457+
run: npx --offline template-oss-release-please \${{ github.ref_name }}
458458
env:
459459
GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }}
460460
@@ -1380,7 +1380,7 @@ jobs:
13801380
- run: npm i --ignore-scripts --no-audit --no-fund
13811381
- name: Release Please
13821382
id: release
1383-
run: npx --offline template-oss-release-please
1383+
run: npx --offline template-oss-release-please \${{ github.ref_name }}
13841384
env:
13851385
GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }}
13861386
@@ -2090,7 +2090,7 @@ jobs:
20902090
- run: npm i --ignore-scripts --no-audit --no-fund
20912091
- name: Release Please
20922092
id: release
2093-
run: npx --offline template-oss-release-please
2093+
run: npx --offline template-oss-release-please \${{ github.ref_name }}
20942094
env:
20952095
GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }}
20962096

0 commit comments

Comments
 (0)