From fc6c3cb037413ccf7080ad56693d3aeb2bf07f0c Mon Sep 17 00:00:00 2001 From: dmarting Date: Fri, 28 Jul 2017 00:01:00 +0200 Subject: Release script: remove non-needed `xargs echo` They are the root cause of #3459. PiperOrigin-RevId: 163392890 --- scripts/release/common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/release') 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 -- cgit v1.2.3