Skip to content

Commit 335f9ea

Browse files
committed
Using upgrade branch
1 parent 2b924f5 commit 335f9ea

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

decidim-generators/lib/decidim/generators/app_generator.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def gem_modifier
228228
@gem_modifier ||= if options[:path]
229229
"path: \"#{options[:path]}\""
230230
elsif branch.present?
231-
"git: \"https://github.com/decidim/decidim.git\", branch: \"#{branch}\""
231+
"git: \"https://github.com/tremend-cofe/decidim.git\", branch: \"#{branch}\""
232232
else
233233
"\"#{Decidim::Generators.version}\""
234234
end
@@ -237,7 +237,7 @@ def gem_modifier
237237
def branch
238238
return if options[:path]
239239

240-
@branch ||= options[:edge] ? "develop" : options[:branch].presence
240+
@branch ||= options[:edge] ? "upgrade/rails-6.1" : options[:branch].presence
241241
end
242242

243243
def app_name
@@ -262,7 +262,7 @@ def target_gemfile
262262
root = if options[:path]
263263
expanded_path
264264
elsif branch.present?
265-
"https://raw.githubusercontent.com/decidim/decidim/#{branch}/decidim-generators"
265+
"https://raw.githubusercontent.com/tremend-cofe/decidim/#{branch}/decidim-generators"
266266
else
267267
root_path
268268
end

decidim-generators/spec/generators_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ module Decidim
109109
end
110110

111111
context "with --branch flag" do
112-
let(:default_branch) { "develop" }
112+
let(:default_branch) { "upgrade/rails-6.1" }
113113
let(:command) { "decidim --branch #{default_branch} #{test_app}" }
114114

115115
it_behaves_like "a new production application"

0 commit comments

Comments
 (0)