lib/semmy/configuration.rb in semmy-1.1.0 vs lib/semmy/configuration.rb in semmy-1.2.0
- old
+ new
@@ -1,10 +1,11 @@
module Semmy
class Configuration
attr_accessor :development_version_suffix
attr_accessor :stable_branch_name
+ attr_accessor :push_branches_after_release
attr_accessor :prepare_commit_message
attr_accessor :bump_commit_message
attr_accessor :github_repository
@@ -23,9 +24,10 @@
def initialize
@development_version_suffix = 'dev'
@stable_branch_name = '%{major}-%{minor}-stable'
+ @push_branches_after_release = ENV['SEMMY_PUSH_BRANCHES_AFTER_RELEASE'] == 'on'
@prepare_commit_message = 'Prepare %{version} release'
@bump_commit_message = 'Bump version to %{version}'
@compare_url = '%{repository}/compare/%{old_version_tag}...%{new_version_tag}'