docs: add a note to motd to check the latest release notes

This commit is contained in:
qoijjj
2024-08-20 10:28:53 -07:00
committed by GitHub
parent f86b2c49e1
commit 327eb2279d

View File

@@ -29,7 +29,7 @@ elif [ "$IMAGE_TAG" != "latest" ]; then
elif [ "$DIFFERENCE" -ge "$WEEK" ]; then
TIP='~~~ NOTICE: Your current image is over 1 week old, run `ujust update`. ~~~'
else
TIP='~~~ NOTICE: There is currently no notice. ~~~'
TIP='~~~ NOTICE: View the latest release notes: https://github.com/secureblue/secureblue/releases/latest ~~~'
fi
TIP_OUTPUT=$(sed -e "s/%IMAGE_REF_NAME%/$IMAGE_REF_NAME/g" -e "s/%IMAGE_TAG%/$IMAGE_TAG/g" -e "s#%TIP%#$TIP#g" /usr/share/ublue-os/motd/secureblue.txt)