Tagging in after_success script doesn't trigger deployment

A post was split to a new topic: Another build is triggered if I create a tag dynamically