Actions
Feature #802
openAdd support for GM_COMMIT
Start date:
04 Jan 2021
Due date:
% Done:
0%
Estimated time:
Severity:
01 - Critical
Description
If an env file sets GM_COMMIT to some non-empty value then the clone() function should checkout that commit id after cloning. It should look like this:
function clone
{
# echo " clone : $GM_CLONE"
${GM_CLONE}
if [[ "${GM_COMMIT}" != "" ]]; then
pushd "${GM_SRC}"
echo "Checking out commit id: ${GM_COMMIT}"
git checkout "${GM_COMMIT}"
popd
fi
}
Might need to check the syntax of the pushd/popd stuff - I don't use that much.
Updated by Hammel over 2 years ago
- Target version changed from 2.0 - Harkonnen to 3.0 - Corrino
Actions