Sha256: a7210f865f507c103c21ea1ec1b49ad08330df42a00328cc42e163bc1a62a737
Contents?: true
Size: 632 Bytes
Versions: 124
Compression:
Stored size: 632 Bytes
Contents
# frozen_string_literal: true require 'avm/result' module Avm module Git module Issue class Complete def assert_tag if tag_hash return if tag_hash == branch_hash delete_tag end create_tag end def delete_tag info 'Removendo tag...' git(['tag', '-d', branch_name]) end def tag "refs/tags/#{branch_name}" end def tag_hash @git.rev_parse(tag) end def create_tag git(['tag', branch_name, branch_hash]) end end end end end
Version data entries
124 entries across 124 versions & 1 rubygems