Skip to content

Commit

Permalink
feat(toys): Allow empty version in release-manifest (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
dazuma committed May 5, 2023
1 parent 9ccf62d commit 1215e62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions toys/release/manifest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ def run_release_please package: nil, version: nil # rubocop:disable Metrics/Cycl
cmd += ["release-please", "release-pr", "--repo-url", repo_url]
cmd += ["--fork"] if use_fork
cmd += ["--token", github_token] if github_token
cmd += ["--path", package] if package
cmd += ["--release-as", version] if version
cmd += ["--path", package] if package && !package.empty?
cmd += ["--release-as", version] if version && !version.empty?
cmd += ["--skip-labeling"] if skip_labeling
cmd += ["--dry-run"] if dry_run
cmd += ["--debug"] if verbosity.positive?
Expand Down

0 comments on commit 1215e62

Please sign in to comment.