Only add --repo_name if the repository name is not empty

The repository name that was being passed to the publish task
was never None but was an empty string. This checks for both cases and
only adds the flag if it is not an empty string.

Change-Id: Ic8aedf125cb8ee211baa1af570ec46b236bcc5ea
Reviewed-on: https://fuchsia-review.googlesource.com/c/sdk-integration/+/786666
Reviewed-by: Jiaming Li <lijiaming@google.com>
Commit-Queue: Jiaming Li <lijiaming@google.com>
1 file changed
tree: a02084ab4ee3a08a44aefa5dfce5c7434f90b17e
  1. bazel_rules_fuchsia/
  2. bazel_rules_fuchsia_experimental/
  3. manifests/
  4. scripts/
  5. tests/
  6. .gitignore
  7. AUTHORS
  8. BUILD.bazel
  9. CONTRIBUTING.md
  10. LICENSE
  11. PATENTS
  12. README.md
  13. using_local_sdk.md
README.md

Fuchsia SDK Integration Repository

This repository provides environment-specific (e.g. Bazel, GN) tools for the SDK and associated integration tests in a public repo.

Visit Contributing to Fuchsia to learn how to contribute to this repository.