From: Michael Jeanson Date: Fri, 22 May 2020 20:19:47 +0000 (-0400) Subject: jjb: babeltrace: Release jobs script cleanup X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=63ffe145e10279fe385013371153c317a74b402f;p=lttng-ci.git jjb: babeltrace: Release jobs script cleanup Signed-off-by: Michael Jeanson --- diff --git a/scripts/babeltrace/release.sh b/scripts/babeltrace/release.sh index 43db8db..32306e1 100644 --- a/scripts/babeltrace/release.sh +++ b/scripts/babeltrace/release.sh @@ -116,7 +116,7 @@ TARBALL_FILE="$BASENAME-$PACKAGE_VERSION.tar.bz2" # Make sure the reported version matches the current git tag -GIT_TAG="$(git describe --exact-match --tags $(git log -n1 --pretty='%h')|| echo 'undefined')" +GIT_TAG="$(git describe --exact-match --tags "$(git log -n1 --pretty='%h')" || echo 'undefined')" if [ "v$PACKAGE_VERSION" != "$GIT_TAG" ]; then echo "Git checkout is not tagged or doesn't match the reported version." @@ -124,7 +124,7 @@ if [ "v$PACKAGE_VERSION" != "$GIT_TAG" ]; then fi # Generate release tarball -./configure "${CONF_OPTS[@]}" +./configure make dist cp "./$TARBALL_FILE" "$OUTDIR/"