Build a former commit (OD-671)
jewgeni opened 4 years ago

Hello, I have got a question. I do a have a repository, now I want to build an old tag. I tagged the repository before adding the build file. Am I somehow able to build the former state?

Best regards

  • Robin Shen commented 4 years ago

    You may add a checkout step, and switch to old tag in a command step defined later:

    git fetch origin tag:tag
    git checkout tag
    
    // build your stuff
    

    This should only considered for casual case, as code and its build/deployment logic should in same commit to make best use of "code as configuration"

  • Robin Shen changed state to 'Closed' 4 years ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
Question
Priority
Minor
Assignee
Issue Votes (0)
Watchers (4)
Reference
OD-671
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover