diff --git a/VERSION.txt b/VERSION.txt index 43beb40..a2cec7a 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -4.0.7 +4.0.8 diff --git a/run-scripts/getVersion.sh b/run-scripts/getVersion.sh index a6be61b..9a06a99 100755 --- a/run-scripts/getVersion.sh +++ b/run-scripts/getVersion.sh @@ -19,7 +19,14 @@ done if [[ -z "$part" ]] ; then echo "${OS_VERSION}-${OS_GIT_BRANCH}-${OS_GIT_COMMIT_SHORT}-${BUILD_DATE}/${OS_DOCKER_IMAGE_VERSION}" else - cat ${VERSIONDIR}/$part + if [[ "$part" == "ALL" ]] ; then + cd "$VERSIONDIR" + for vn in * ; do + echo "$vn = $(cat $vn)" + done + else + cat ${VERSIONDIR}/$part + fi fi # echo "$(cat $VERSIONDIR/OS_VERSION)-$(cat $VERSIONDIR/OS_GIT_COMMIT_SHORT)-$(cat $VERSIONDIR/OS_DOCKER_IMAGE_VERSION)-$(cat $VERSIONDIR/BUILD_DATE)-$($VERSIONDIR/OS_DOCKER_GIT_COMMIT_SHORT)"