How to tag a git repo in a bamboo build

后端 未结 3 1353
傲寒
傲寒 2021-01-30 09:19

I\'m trying to tag the git repo of a ruby gem in a Bamboo build. I thought doing something like this in ruby would do the job

`git tag v#{current_version}`
`git         


        
3条回答
  •  天命终不由人
    2021-01-30 09:54

    I know this is an old thread, however, I thought of adding this info.

    From Bamboo version 6.7 onwards, it has the Git repository tagging feature Repository Tag.

    You can add a repository tagging task to the job and the Bamboo variable as tag name. You must have Bamboo-Bitbucket integrated via the application link.

提交回复
热议问题