Closed asabil closed 10 years ago
Bitbucket doesn't provide any API to update keys, so we need to delete the existing key and create a new one.
we actually have a function for this already called CreateUpdate https://github.com/drone/go-bitbucket/blob/master/bitbucket/keys.go#L98
CreateUpdate
Except that it doesn't work. It depends on Update which itself is broken
Bitbucket doesn't provide any API to update keys, so we need to delete the existing key and create a new one.