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
32
32
long : "migrate" ,
33
33
description : "The migration command to run. This option has a 50 character limit." ,
34
34
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"
35
40
36
41
option :app ,
37
42
short : "a" ,
@@ -75,6 +80,9 @@ def handle
75
80
76
81
deploy_options = { verbose : switch_active? ( :verbose ) , cli_args : ARGV }
77
82
latest_deploy = nil
83
+ if options [ :serverside_version ]
84
+ deploy_options . merge! ( serverside_version : option ( :serverside_version ) )
85
+ end
78
86
if options [ :ref ]
79
87
deploy_options . merge! ( ref : option ( :ref ) )
80
88
else
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ class Ey::Core::Client::Deployment < Ey::Core::Model
9
9
attribute :migrate_command
10
10
attribute :ref
11
11
attribute :resolved_ref
12
+ attribute :serverside_version
12
13
attribute :started_at , type : :time
13
14
attribute :successful , type : :boolean
14
15
attribute :verbose
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ def deploy_environment_application(options={})
30
30
"migrate_command" => options [ "deploy" ] [ "migrate" ] ? ( options [ "deploy" ] [ "migrate_command" ] || "rake db:migrate" ) : nil ,
31
31
"migrate" => options [ "deploy" ] [ "migrate" ] || false ,
32
32
"resolved_ref" => options [ "deploy" ] [ "ref" ] ,
33
+ "serverside_version" => options [ "deploy" ] [ "serverside_version" ] ,
33
34
"started_at" => Time . now ,
34
35
"successful" => true
35
36
}
Original file line number Diff line number Diff line change 1
1
module Ey
2
2
module Core
3
- VERSION = "3.6.1 "
3
+ VERSION = "3.6.2 "
4
4
end
5
5
end
You can’t perform that action at this time.
0 commit comments