-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Task
0 / 20 of 2 issues completed
Copy link
Labels
enhancementNew feature or requestNew feature or request
Description
Add support for checking the latest version and warning if not on it to be added to the clone script
https://github.com/rdkcentral/hal-doxygen/blob/develop/template/docs/generate_docs.sh
Something akin to the same one for ut-core
# Clone the Unit Test Requirements
[email protected]:rdkcentral/ut-core.git
# This function checks if we're not sitting on the latest revision.
function check_next_revision()
{
pushd ./ut-core 2&>/dev/null
# Set default UT_PROJECT_VERSION to next revision
if [ -v ${UT_PROJECT_VERSION} ]; then
UT_PROJECT_VERSION=$(git tag | grep ${UT_PROJECT_MAJOR_VERSION} | sort -r | head -n1)
UT_NEXT_VERSION=$(git tag | sort -r | head -n1)
echo -e ${YELLOW}ut-core version selected:[${UT_PROJECT_VERSION}]${NC}
if [ "${UT_NEXT_VERSION}" != "${UT_PROJECT_VERSION}" ]; then
echo -e ${RED}--- New Version of ut-core released [${UT_NEXT_VERSION}] consider upgrading ---${NC}
fi
fi
popd 2&>/dev/null
}This sort of thing needs to be removed
# Set default UT_PROJECT_VERSION to master
if [ -z "${UT_PROJECT_VERSION}" ]; then
UT_PROJECT_VERSION=master
fiReactions are currently unavailable
Sub-issues
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Todo