When updating the build counter without using the --unsafe
option, I get a message that the operation both did and didn’t happen.
$ drone repo update --build-counter=5 my_repo
Setting the build counter is an unsafe operation that could put your repository in an inconsistent state. Please use --unsafe to proceedSuccessfully updated repository my_repo
Here’s the relevant section of code: drone-cli/repo_update.go at 75f4cf637cdc51005e74313f63bd18e487b6a447 · drone/drone-cli · GitHub
Thanks!