diff --git a/build.sh b/build.sh index 93cc663..9e02377 100755 --- a/build.sh +++ b/build.sh @@ -207,6 +207,14 @@ if [ -n "${SINGLE_VERSION:-}" ]; then exit 0 fi dirs=$SINGLE_VERSION + if [[ "${SINGLE_VERSION}" == *"minimal"* ]]; then + echo "Adding ${SINGLE_VERSION//-minimal/} because it might be needed for testing $SINGLE_VERSION." + dirs="$dirs ${SINGLE_VERSION//-minimal/}" + fi + if [[ "${SINGLE_VERSION}" == *"micro"* ]]; then + echo "Adding ${SINGLE_VERSION//-micro/} because it might be needed for testing $SINGLE_VERSION." + dirs="$dirs ${SINGLE_VERSION//-micro/}" + fi fi echo "Built versions are: $dirs" diff --git a/tag.sh b/tag.sh index c553e80..6649f3b 100755 --- a/tag.sh +++ b/tag.sh @@ -17,6 +17,14 @@ trap 'echo "errexit on line $LINENO, $0" >&2' ERR # make tag TARGET= VERSIONS= ... checks single version for CLI # make tag TARGET= SINGLE_VERSION= ... checks single version from Testing Farm VERSIONS=${SINGLE_VERSION:-$VERSIONS} +if [[ "${SINGLE_VERSION}" == *"minimal"* ]]; then + echo "Adding ${SINGLE_VERSION//-minimal/} because it might be needed for testing $SINGLE_VERSION." + VERSIONS="$VERSIONS ${SINGLE_VERSION//-minimal/}" +fi +if [[ "${SINGLE_VERSION}" == *"micro"* ]]; then + echo "Adding ${SINGLE_VERSION//-micro/} because it might be needed for testing $SINGLE_VERSION." + VERSIONS="$VERSIONS ${SINGLE_VERSION//-micro/}" +fi echo "Tagged versions are: $VERSIONS" for dir in ${VERSIONS}; do