diff options
author | dmarting <dmarting@google.com> | 2017-07-28 00:01:00 +0200 |
---|---|---|
committer | Jakob Buchgraber <buchgr@google.com> | 2017-07-28 10:44:55 +0200 |
commit | fc6c3cb037413ccf7080ad56693d3aeb2bf07f0c (patch) | |
tree | 8f20ac39e6a9cc4f422f921d9ad06ac2996891a6 /scripts/release | |
parent | 11da2203a00bb8121275d9a110190d7f70df1073 (diff) |
Release script: remove non-needed `xargs echo`
They are the root cause of #3459.
PiperOrigin-RevId: 163392890
Diffstat (limited to 'scripts/release')
-rwxr-xr-x | scripts/release/common.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/release/common.sh b/scripts/release/common.sh index ca8ebd45d7..1b1a441bf1 100755 --- a/scripts/release/common.sh +++ b/scripts/release/common.sh @@ -41,12 +41,12 @@ function git_commit_msg() { # Extract the release candidate number from the git notes function get_release_candidate() { - git notes --ref=release-candidate show "$@" 2>/dev/null | xargs echo || true + git notes --ref=release-candidate show "$@" 2>/dev/null || true } # Extract the release name from the git notes function get_release_name() { - git notes --ref=release show "$@" 2>/dev/null | xargs echo || true + git notes --ref=release show "$@" 2>/dev/null || true } # Get the short hash of a commit |