Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to modify a pipeline to auto tag a git repo on deployment to production

Adrian Sweeney
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 25, 2018

I'm looking for some documentation that would allow the pipeline that pushes to the production servers to automatically add a tag to the latest commit that was pushed 

 

something like

> git tag -a YYYYMMDDHHII

So that if we need to roll back to a earlier version that was on production I can see that there was two releases today and and revert to the previous one easily.

At the minute we are "supposed" to do it manually but I seem to be the only one that remembers and I keep having to prompt people.

 

Thanks any help would be greatly appreciated.

Ado

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events