Can you git tag builds using CircleCI?


#1

We would like to tag passing builds for example:

git tag -a "RC 34" -m "adding tag"

using circleCI when the build passes.

Does anyone have any experience doing this and how to push the tags back to Github? We’re having issues in that it’s trying to use the read-only deploy key to do the git push origin --tags


#2

You can add a read-write deploy key: https://circleci.com/docs/adding-read-write-deployment-key


#3

Hi. We are new to CircleCI. We would like to also tag passing builds. Could give more detail how you are doing it and/or paste your circle.yml please?


#4

See of this helps,


#5