diff --git a/.ci/upload.sh b/.ci/upload.sh index e76a061..ce810cf 100644 --- a/.ci/upload.sh +++ b/.ci/upload.sh @@ -17,6 +17,7 @@ function prepare_upload_filename() { .ci/detect_os_arch_package_format "$package" > /tmp/os_arch_package_format; source /tmp/os_arch_package_format; detect_release_branch + detect_revision "$package" "$OS_ARCH" if [ -n "$REVISION" ]; then REVISION="_${REVISION}" @@ -60,6 +61,8 @@ detect_revision() { local package="$1" local arch="$2" + REVISION= + if ! echo "$package" | grep -q '+'; then return fi