Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Commit

Permalink
fix: falsy path should be passed as undefined (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Aug 2, 2020
1 parent 037d85c commit 21233d3
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 27 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -20,7 +20,7 @@ Automate releases with Conventional Commit Messages.
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v1.5.0
- uses: GoogleCloudPlatform/release-please-action@v1.6.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: node
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v1.5.0
- uses: GoogleCloudPlatform/release-please-action@v1.6.1
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions dist/index.js
Expand Up @@ -1742,8 +1742,8 @@ async function main () {
label: RELEASE_LABEL,
repoUrl: process.env.GITHUB_REPOSITORY,
packageName,
path,
token,
path: path ? path : undefined,
token
})
const releaseCreated = await gr.createRelease()
if (releaseCreated) {
Expand Down
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -18,7 +18,7 @@ async function main () {
label: RELEASE_LABEL,
repoUrl: process.env.GITHUB_REPOSITORY,
packageName,
path,
path: path ? path : undefined,
token
})
const releaseCreated = await gr.createRelease()
Expand Down
44 changes: 22 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 21233d3

Please sign in to comment.