diff --git a/modules/aws/sonar-upgrader/python_upgrader/upgrade/scripts/upgrade_v4_10.sh b/modules/aws/sonar-upgrader/python_upgrader/upgrade/scripts/upgrade_v4_10.sh index cc703d3d..bc482f4b 100644 --- a/modules/aws/sonar-upgrader/python_upgrader/upgrade/scripts/upgrade_v4_10.sh +++ b/modules/aws/sonar-upgrader/python_upgrader/upgrade/scripts/upgrade_v4_10.sh @@ -43,6 +43,7 @@ TARBALL_FILE=$EXTRACTION_BASE_DIR/$TARBALL_FILE_NAME VERSION="${TARBALL_FILE#*-}" VERSION="${VERSION%.tar.gz}" +VERSION="${VERSION%_*}" # remove any date suffix echo "Version: $VERSION" EXTRACTION_DIR="${EXTRACTION_BASE_DIR}/jsonar/apps/${VERSION}"