diff --git a/scripts/ci-release.sh b/scripts/ci-release.sh index 9c99ca2..8f3efe6 100755 --- a/scripts/ci-release.sh +++ b/scripts/ci-release.sh @@ -26,7 +26,7 @@ GIT_COMMIT="${GIT_COMMIT:-unknown}" BUILD_TIME="$(date -u +%Y-%m-%dT%H:%M:%SZ)" TARBALL="orca-${VERSION}-linux-amd64.tar.gz" -info "building release ${VERSION} (commit ${GIT_COMMIT:0:12})..." +info "building release ${VERSION} (commit $(echo "${GIT_COMMIT}" | cut -c1-12))..." # Build the release binary with version injection. LDFLAGS="-s -w \