Skip to content

Commit

Permalink
Merge pull request #350 from sclorg/build-tag-nonminimal
Browse files Browse the repository at this point in the history
Build and tag the non-minimal variant as well
  • Loading branch information
phracek authored Sep 14, 2023
2 parents 19ea464 + 9a3cd9a commit 250ae7c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
8 changes: 8 additions & 0 deletions tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ trap 'echo "errexit on line $LINENO, $0" >&2' ERR
# make tag TARGET=<OS> VERSIONS=<something> ... checks single version for CLI
# make tag TARGET=<OS> SINGLE_VERSION=<something> ... 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
Expand Down

0 comments on commit 250ae7c

Please sign in to comment.