Class: Decidim::ReleaseManager
- Inherits:
-
Object
- Object
- Decidim::ReleaseManager
- Defined in:
- lib/decidim/release_manager.rb
Overview
Provides utilities for performing the releases.
Class Method Summary collapse
-
.git_remote ⇒ Object
Resolves the remote where the tags will be pushed during the release.
- .git_remote_set? ⇒ Boolean
Class Method Details
.git_remote ⇒ Object
Resolves the remote where the tags will be pushed during the release.
10 11 12 |
# File 'lib/decidim/release_manager.rb', line 10 def self.git_remote @git_remote ||= `git remote -v | grep -e 'decidim/decidim\\([^ ]*\\) (push)' | sed 's/\\s.*//'`.strip end |
.git_remote_set? ⇒ Boolean
14 15 16 |
# File 'lib/decidim/release_manager.rb', line 14 def self.git_remote_set? git_remote.present? end |