File tree Expand file tree Collapse file tree 4 files changed +11
-1
lines changed
Expand file tree Collapse file tree 4 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,11 @@ class Deploy < Subcommand
3232 long : "migrate" ,
3333 description : "The migration command to run. This option has a 50 character limit." ,
3434 argument : "migrate"
35+ option :serverside_version ,
36+ short : "S" ,
37+ long : "serverside_version" ,
38+ description : "Override the default version of engineyard-serverside. The version must match a released version. Use with care." ,
39+ argument : "serverside_version"
3540
3641 option :app ,
3742 short : "a" ,
@@ -75,6 +80,9 @@ def handle
7580
7681 deploy_options = { verbose : switch_active? ( :verbose ) , cli_args : ARGV }
7782 latest_deploy = nil
83+ if options [ :serverside_version ]
84+ deploy_options . merge! ( serverside_version : option ( :serverside_version ) )
85+ end
7886 if options [ :ref ]
7987 deploy_options . merge! ( ref : option ( :ref ) )
8088 else
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ class Ey::Core::Client::Deployment < Ey::Core::Model
99 attribute :migrate_command
1010 attribute :ref
1111 attribute :resolved_ref
12+ attribute :serverside_version
1213 attribute :started_at , type : :time
1314 attribute :successful , type : :boolean
1415 attribute :verbose
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ def deploy_environment_application(options={})
3030 "migrate_command" => options [ "deploy" ] [ "migrate" ] ? ( options [ "deploy" ] [ "migrate_command" ] || "rake db:migrate" ) : nil ,
3131 "migrate" => options [ "deploy" ] [ "migrate" ] || false ,
3232 "resolved_ref" => options [ "deploy" ] [ "ref" ] ,
33+ "serverside_version" => options [ "deploy" ] [ "serverside_version" ] ,
3334 "started_at" => Time . now ,
3435 "successful" => true
3536 }
Original file line number Diff line number Diff line change 11module Ey
22 module Core
3- VERSION = "3.6.1 "
3+ VERSION = "3.6.2 "
44 end
55end
You can’t perform that action at this time.
0 commit comments