Sha256: 16234a38ca18349df0763dc407971cdd7f97f67b5c000d3a3221dacf811b9105

Contents?: true

Size: 328 Bytes

Versions: 33

Compression:

Stored size: 328 Bytes

Contents

# frozen_string_literal: true

require "decidim/generators/version"

module Decidim
  module Generators
    def self.edge_git_branch
      if Decidim::Generators.version.match?(/\.dev$/)
        "develop"
      else
        "release/#{Decidim::Generators.version.match(/^[0-9]+\.[0-9]+/)[0]}-stable"
      end
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
decidim-generators-0.29.1 lib/decidim/generators.rb
decidim-generators-0.28.4 lib/decidim/generators.rb
decidim-generators-0.27.9 lib/decidim/generators.rb
decidim-generators-0.29.0 lib/decidim/generators.rb
decidim-generators-0.28.3 lib/decidim/generators.rb
decidim-generators-0.27.8 lib/decidim/generators.rb
decidim-generators-0.29.0.rc4 lib/decidim/generators.rb
decidim-generators-0.29.0.rc3 lib/decidim/generators.rb
decidim-generators-0.29.0.rc2 lib/decidim/generators.rb
decidim-generators-0.29.0.rc1 lib/decidim/generators.rb
decidim-generators-0.28.2 lib/decidim/generators.rb
decidim-generators-0.27.7 lib/decidim/generators.rb
decidim-generators-0.28.1 lib/decidim/generators.rb
decidim-generators-0.27.6 lib/decidim/generators.rb
decidim-generators-0.26.10 lib/decidim/generators.rb
decidim-generators-0.26.9 lib/decidim/generators.rb
decidim-generators-0.28.0 lib/decidim/generators.rb
decidim-generators-0.27.5 lib/decidim/generators.rb
decidim-generators-0.28.0.rc5 lib/decidim/generators.rb
decidim-generators-0.28.0.rc4 lib/decidim/generators.rb