Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updating default version

  • Loading branch information...
commit 3d5365e85c458d24c5721c204b56d7d81ce4e533 1 parent f9bd75b
@chewbranca chewbranca authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 db/seeds.rb
View
5 db/seeds.rb
@@ -257,8 +257,11 @@
})
end
+version_file = File.join(Rails.root, "config", "version")
+version = File.exist?(version_file) ? File.read(version_file) : "3.4.4"
+
settings = [
- { :key_sub_type => 'newscloud', :key_name => 'version', :value => "3.4.2" },
+ { :key_sub_type => 'newscloud', :key_name => 'version', :value => version },
{ :key_sub_type => 'amazon', :key_name => 'aws_access_key_id', :value => "1234asdf4321" },
{ :key_sub_type => 'amazon', :key_name => 'aws_secret_key', :value => "123454321asdf5432112345" },
{ :key_sub_type => 'amazon', :key_name => 'associate_code', :value => "yourcode-20" },
Please sign in to comment.
Something went wrong with that request. Please try again.