Sha256: 66004de61d27f6ba4e716fb05415337775a283e5f6747bb4af7afde76ce069ee

Contents?: true

Size: 480 Bytes

Versions: 13

Compression:

Stored size: 480 Bytes

Contents

# frozen_string_literal: true

require "active_support/core_ext/module/delegation"
require "open3"

module Decidim
  # Provides utilities for performing the releases.
  class ReleaseManager
    # Resolves the remote where the tags will be pushed during the release.
    def self.git_remote
      @git_remote ||= `git remote -v | grep -e 'decidim/decidim\\([^ ]*\\) (push)' | sed 's/\\s.*//'`.strip
    end

    def self.git_remote_set?
      git_remote.present?
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-0.29.1 lib/decidim/release_manager.rb
decidim-0.28.4 lib/decidim/release_manager.rb
decidim-0.29.0 lib/decidim/release_manager.rb
decidim-0.28.3 lib/decidim/release_manager.rb
decidim-0.29.0.rc4 lib/decidim/release_manager.rb
decidim-0.29.0.rc3 lib/decidim/release_manager.rb
decidim-0.29.0.rc2 lib/decidim/release_manager.rb
decidim-0.29.0.rc1 lib/decidim/release_manager.rb
decidim-0.28.2 lib/decidim/release_manager.rb
decidim-0.28.1 lib/decidim/release_manager.rb
decidim-0.28.0 lib/decidim/release_manager.rb
decidim-0.28.0.rc5 lib/decidim/release_manager.rb
decidim-0.28.0.rc4 lib/decidim/release_manager.rb