elocal_capistrano 2.3.6 → 2.3.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: a356b10d7c704342cc0aa3272bab3dc8ee7cf4e0
4
- data.tar.gz: be67dbb18965c0ead89a842e40cb3774ccf5d3df
2
+ SHA256:
3
+ metadata.gz: '0128abd8ee8dc55fb5d7b371fb74ab8a0363d6dab57a2f8bba0c9a856465396f'
4
+ data.tar.gz: '08142efdad18b34fdccf0723f6e5dad4b3318592ab181b363a7946058c7c4208'
5
5
  SHA512:
6
- metadata.gz: c5358e52b3fa102aa28c3f127c2fe13522d37a038ecb2f5bb3f1e7fce0679983c759815e910d89ad95bc709112dcc704d31c7ce844ee035de4830e54f01dc4af
7
- data.tar.gz: 8b3aa798f86db952a7fb8c92d826689f7fd22a3f2b173c9cce99fb32bb6c0768cafe2ff3f0b685ef5b36af2463fb1abaabe13ddd91cd9cea3c83e3d684eda9e9
6
+ metadata.gz: 41f556067493accfcbe890bcb2d8aba065986340afe1aa9d7c86211752fd999771ef6b506cc480371e91b7797e3846f117552ac2676088a1b51d3f2a2ab9c8b9
7
+ data.tar.gz: e9952a9cc0260d2ce4a665bab727a1cab89917e018908db80fed9abc901a8b239ff22cffda76dbc90979e5635e7e86836277ca79ce68427595c5cb69d84c12bb
@@ -1,3 +1,3 @@
1
1
  module ElocalCapistrano
2
- VERSION = '2.3.6'
2
+ VERSION = '2.3.7'
3
3
  end
@@ -25,14 +25,18 @@ namespace :git do
25
25
  DESC
26
26
  task :tag_release do
27
27
  run_locally do
28
- tag = increment_patch_version
29
- update_versions_file(tag)
30
- execute :git, "add #{fetch(:versions_path)}"
31
- execute :git, "commit -m '[RELEASE][#{fetch(:rails_env)}] Update release tag for #{fetch(:rails_env)} to #{tag}' #{fetch(:versions_path)}"
32
- execute :git, 'push origin master'
33
- execute :git, "tag #{tag}"
34
- execute :git, "push origin #{tag}"
35
- set :branch, tag.to_s
28
+ unless ENV['SKIP_GIT_TAGGING'].to_s.upcase == 'Y'
29
+ tag = increment_patch_version
30
+ update_versions_file(tag)
31
+ execute :git, "add #{fetch(:versions_path)}"
32
+ execute :git, "commit -m '[RELEASE][#{fetch(:rails_env)}] Update release tag for #{fetch(:rails_env)} to #{tag}' #{fetch(:versions_path)}"
33
+ execute :git, 'push origin master'
34
+ execute :git, "tag #{tag}"
35
+ execute :git, "push origin #{tag}"
36
+ set :branch, tag.to_s
37
+ else
38
+ set :branch, ReleaseTag.current('staging').to_s
39
+ end
36
40
  end
37
41
  end
38
42
 
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.3.6
4
+ version: 2.3.7
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-09-29 00:00:00.000000000 Z
11
+ date: 2019-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  version: '0'
85
85
  requirements: []
86
86
  rubyforge_project:
87
- rubygems_version: 2.6.12
87
+ rubygems_version: 2.7.6
88
88
  signing_key:
89
89
  specification_version: 4
90
90
  summary: Common eLocal Capistrano tasks