Welcome to mirror list, hosted at ThFree Co, Russian Federation.

tag_push_service.rb « git « services « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ee4166dccd0312673259ffc8afcf58c2efe2b8aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

module Git
  class TagPushService < ::BaseService
    def execute
      return unless Gitlab::Git.tag_ref?(params[:ref])

      project.repository.before_push_tag
      TagHooksService.new(project, current_user, params).execute

      true
    end
  end
end