Sha256: 4520670153dc1ab09b40aa5d2b034449032108b01840f0d291a5e3e95fb76882
Contents?: true
Size: 764 Bytes
Versions: 112
Compression:
Stored size: 764 Bytes
Contents
# frozen_string_literal: true require 'avm/sources/base' require 'eac_ruby_utils/core_ext' module Avm module Sources class Base module VersionBump # @return [Avm::Scms::Commit, nil] def version_bump(target_version) scm.commit_if_change(version_bump_commit_message(target_version)) do version_bump_do_changes(target_version) parent.if_present(&:on_sub_updated) end end # @return [String] def version_bump_commit_message(target_version) i18n_translate(__method__, version: target_version, __locale: locale) end def version_bump_do_changes(_target_version) raise_abstract_method(__METHOD__) end end end end end
Version data entries
112 entries across 112 versions & 2 rubygems