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 2 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"
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