Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Commit 21233d3

Browse files
author
Benjamin E. Coe
authored
fix: falsy path should be passed as undefined (#54)
1 parent 037d85c commit 21233d3

4 files changed

Lines changed: 27 additions & 27 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Automate releases with Conventional Commit Messages.
2020
release-please:
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: GoogleCloudPlatform/release-please-action@v1.5.0
23+
- uses: GoogleCloudPlatform/release-please-action@v1.6.1
2424
with:
2525
token: ${{ secrets.GITHUB_TOKEN }}
2626
release-type: node
@@ -105,7 +105,7 @@ jobs:
105105
release-please:
106106
runs-on: ubuntu-latest
107107
steps:
108-
- uses: GoogleCloudPlatform/release-please-action@v1.5.0
108+
- uses: GoogleCloudPlatform/release-please-action@v1.6.1
109109
id: release
110110
with:
111111
token: ${{ secrets.GITHUB_TOKEN }}

dist/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1742,8 +1742,8 @@ async function main () {
17421742
label: RELEASE_LABEL,
17431743
repoUrl: process.env.GITHUB_REPOSITORY,
17441744
packageName,
1745-
path,
1746-
token,
1745+
path: path ? path : undefined,
1746+
token
17471747
})
17481748
const releaseCreated = await gr.createRelease()
17491749
if (releaseCreated) {

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ async function main () {
1818
label: RELEASE_LABEL,
1919
repoUrl: process.env.GITHUB_REPOSITORY,
2020
packageName,
21-
path,
21+
path: path ? path : undefined,
2222
token
2323
})
2424
const releaseCreated = await gr.createRelease()

package-lock.json

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)