diff --git a/config/scripts/image-info.sh b/config/scripts/image-info.sh index 20d4b6e..2f292c4 100755 --- a/config/scripts/image-info.sh +++ b/config/scripts/image-info.sh @@ -1,22 +1,25 @@ #!/usr/bin/bash +## This script is responsible for updating image-info.json with image details +## Its sourced in the motd by default set -oue pipefail FEDORA_MAJOR_VERSION="40" IMAGE_VENDOR="ogglord" IMAGE_NAME="birdie-os" -IMAGE_INFO="/usr/share/birdie-os/image-info.json" +IMAGE_INFO="/usr/share/ublue-os/image-info.json" IMAGE_REF="ostree-image-signed:docker://ghcr.io/$IMAGE_VENDOR/$IMAGE_NAME" IMAGE_BRANCH_NORMALIZED="stable" - -case $FEDORA_MAJOR_VERSION in - 39|40) - IMAGE_TAG="stable" - ;; - *) - IMAGE_TAG="$FEDORA_MAJOR_VERSION" - ;; -esac +IMAGE_TAG="latest" +IMAGE_REPO="https://github.com/Ogglord/birdie" +# case $FEDORA_MAJOR_VERSION in +# 39|40) +# IMAGE_TAG="stable" +# ;; +# *) +# IMAGE_TAG="$FEDORA_MAJOR_VERSION" +# ;; +# esac cat > $IMAGE_INFO < $IMAGE_INFO <