Project

General

Profile

Actions

Feature #802

open

Add support for GM_COMMIT

Added by Hammel almost 4 years ago. Updated over 1 year 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 over 1 year ago

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

Also available in: Atom PDF