Method: Repository#before_push_tag
- Defined in:
- app/models/repository.rb
#before_push_tag ⇒ Object
Runs code before pushing (= creating or removing) a tag.
Note that this doesn’t expire the tags. You may need to call expire_caches_for_tags or expire_tags_cache.
538 539 540 |
# File 'app/models/repository.rb', line 538 def before_push_tag repository_event(:push_tag) end |