Project

General

Profile

Actions

Feature #802

open

Add support for GM_COMMIT

Added by Hammel over 3 years ago. Updated 11 months ago.

Status:
New
Priority:
Urgent
Assignee:
Target version:
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.

Actions #1

Updated by Hammel 11 months ago

  • Target version changed from 2.0 - Harkonnen to 3.0 - Corrino
Actions

Also available in: Atom PDF