File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ require "capistrano/rvm"
2424require "capistrano/honeybadger"
2525require "capistrano/maintenance"
2626require "capistrano/scm/git"
27+ require "capistrano/tagging3"
2728install_plugin Capistrano ::SCM ::Git
2829
2930# Loads custom tasks from `lib/capistrano/tasks' if you have any defined.
Original file line number Diff line number Diff line change @@ -137,6 +137,7 @@ group :development do
137137 gem "capistrano" , require : false
138138 gem "capistrano-rails" , require : false
139139 gem "capistrano-rvm"
140+ gem "capistrano-tagging3" , "~> 2.0"
140141 gem "capistrano-maintenance" , require : false
141142 gem "ed25519" , "~> 1.3"
142143
163164group :doc do
164165 # bundle exec rake doc:rails generates the API under doc/api.
165166 gem "sdoc" , require : false
166- # Fix Unresolved or ambiguous specs
167- gem "psych" , "~> 5.2.6"
168167end
168+ # Fix Unresolved or ambiguous specs
169+ gem "psych" , "~> 5.2.6"
169170
170171# Use ActiveModel has_secure_password
171172# gem 'bcrypt-ruby', '~> 3.0.0'
Original file line number Diff line number Diff line change 127127 capistrano-rvm (0.1.2 )
128128 capistrano (~> 3.0 )
129129 sshkit (~> 1.2 )
130+ capistrano-tagging3 (2.0.0 )
131+ capistrano (~> 3.0 )
130132 capybara (3.40.0 )
131133 addressable
132134 matrix
@@ -673,6 +675,7 @@ DEPENDENCIES
673675 capistrano-maintenance
674676 capistrano-rails
675677 capistrano-rvm
678+ capistrano-tagging3 (~> 2.0 )
676679 capybara
677680 dalli (~> 3 )
678681 delayed_job_active_record
Original file line number Diff line number Diff line change 3535# Default value for keep_releases is 5
3636# set :keep_releases, 5
3737
38+ # Tagging options
39+ set :tagging3_format , ":stage_:release"
40+
3841namespace :foreman do
3942 desc "Export the Procfile to Ubuntu's upstart scripts"
4043 task :export do
You can’t perform that action at this time.
0 commit comments