elocal_capistrano 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/elocal_capistrano/git_tools.rb +5 -1
- data/lib/elocal_capistrano/version.rb +1 -1
- data/lib/tasks/git_tagging.rake +4 -2
- data/lib/tasks/syslog.rake +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d661bcecd999d7ec99927d9ada64a78a61baba63
|
|
4
|
+
data.tar.gz: 25953dce2f3edeaba426f38b6666b84cc9be592d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 21538c5a29d32b8babcea0aa02347efc5600ea94eb6affcb2335f893819c06de13dd2a5e8765cacfe62972a5350756ef562f17829411f880993f541dfa238201
|
|
7
|
+
data.tar.gz: 072fa5893013b1aeffe6d3c96cdcafd93f73a9eb417d6c667382bc6741c11c645401636a9e43118065e122f3f74c0557b525a2635d9a88d4706dc039cc9c11ac
|
data/lib/tasks/git_tagging.rake
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
namespace :load do
|
|
2
2
|
task :defaults do
|
|
3
|
-
set :
|
|
4
|
-
set :syslog_all_logs, %w(y Y yes true 1).include?(ENV['all_logs'])
|
|
3
|
+
set :versions_path, 'config/versions.yml'
|
|
5
4
|
end
|
|
6
5
|
end
|
|
6
|
+
|
|
7
7
|
namespace :git do
|
|
8
8
|
namespace :tagging do
|
|
9
9
|
include ElocalCapistrano::GitTools
|
|
@@ -27,6 +27,7 @@ namespace :git do
|
|
|
27
27
|
run_locally do
|
|
28
28
|
tag = increment_patch_version
|
|
29
29
|
update_versions_file(tag)
|
|
30
|
+
execute :git, "add #{fetch(:versions_path)}"
|
|
30
31
|
execute :git, "commit -m '[RELEASE][#{fetch(:rails_env)}] Update release tag for #{fetch(:rails_env)} to #{tag}' #{fetch(:versions_path)}"
|
|
31
32
|
execute :git, 'push origin master'
|
|
32
33
|
execute :git, "tag #{tag}"
|
|
@@ -42,6 +43,7 @@ namespace :git do
|
|
|
42
43
|
run_locally do
|
|
43
44
|
tag = ReleaseTag.current('staging')
|
|
44
45
|
update_versions_file(tag)
|
|
46
|
+
execute :git, "add #{fetch(:versions_path)}"
|
|
45
47
|
execute :git, "commit -m '[RELEASE][#{fetch(:rails_env)}] Update release tag for #{fetch(:rails_env)} to #{tag}' #{fetch(:versions_path)}"
|
|
46
48
|
execute :git, 'push origin master'
|
|
47
49
|
set :branch, tag.to_s
|
data/lib/tasks/syslog.rake
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: elocal_capistrano
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rob Di Marco
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-04-
|
|
11
|
+
date: 2017-04-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|