I would like to create an annotated tag in BB cloud for a repo using the rest api. is this currently possible or is it only for BB server?
See my answer below
curl -X POST -u your-username:your-password -H "Content-Type: application/json" -v --trace - -d '{"name":"your-tag-name","target":{"hash":"your-hash"}}' https://api.bitbucket.org/2.0/repositories/your-team/your-repo/refs/tags
(Replace your-xxxx with appropriate content)
What about creating signed tags?
Can you do it when using OAth ? I would like to automate this process.
Thanks.
It looks like you're new here. Sign in or register to get started.