Consolidate build names for all flavors by version #178

Closed
akatch wants to merge 2 commits from script_updates into develop
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 0cab21c1d9 - Show all commits

View File

@ -8,8 +8,8 @@ set -e
ROCKY_VERSION="9.2"
MAJOR_VERSION=$(awk -F '.' '{print $1}' <<< $ROCKY_VERSION)
MINOR_VERSION=$(awk -F '.' '{print $2}' <<< $ROCKY_VERSION)
MAJOR_VERSION=${ROCKY_VERSION:0:1}
MINOR_VERSION=${ROCKY_VERSION:2:1}
ROCKY_ARCH="${ROCKY_ARCH:=x86_64}"
ROCKY_EXTRA_ARGS="${ROCKY_EXTRA_ARGS:-}"
BUILD_NAME="-$(date +%Y%m%d).0-$(git branch --show-current)-$ROCKY_VERSION"

View File

@ -14,8 +14,8 @@ set -e
ROCKY_VERSION="9.2"
MAJOR_VERSION=$(awk -F '.' '{print $1}' <<< $ROCKY_VERSION)
MINOR_VERSION=$(awk -F '.' '{print $2}' <<< $ROCKY_VERSION)
MAJOR_VERSION=${ROCKY_VERSION:0:1}
MINOR_VERSION=${ROCKY_VERSION:2:1}
ROCKY_FLAVOR="${ROCKY_FLAVOR:-boot-iso}"
ROCKY_ARCH="${ROCKY_ARCH:=x86_64}"
ROCKY_EXTRA_ARGS="${ROCKY_EXTRA_ARGS:-}"