Skip to content
This repository has been archived by the owner on Nov 29, 2017. It is now read-only.

Commit

Permalink
fix the storing of release_type value
Browse files Browse the repository at this point in the history
  • Loading branch information
drnic committed Feb 26, 2013
1 parent 88b70fd commit 62ee857
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/bosh-cloudfoundry/bosh_release_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,14 @@ def default_dev_release_name(branch_name=cf_release_branch)
def switch_to_development_release
system_config.release_name = default_dev_release_name(cf_release_branch)
system_config.release_version = "latest"
system_config.release_type = "final"
system_config.release_type = "dev"
system_config.save
end

def switch_to_final_release
system_config.release_name = default_release_name
system_config.release_version = "latest"
system_config.release_type = "dev"
system_config.release_type = "final"
system_config.save
end
end

0 comments on commit 62ee857

Please sign in to comment.