capistrano-deploytags 1.0.6 → 1.0.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
2
  SHA1:
3
- metadata.gz: 67a958ed519cc6e22836d1197a96cc1346f04d2b
4
- data.tar.gz: e58d86a82f306f2178413d1226c684e6f13416a5
3
+ metadata.gz: 1ab422b31eaee13d1d7819d0254e3698b5ec6fbf
4
+ data.tar.gz: 1f0759496c0a75a362b41d3a9ddae5c82fb0c63e
5
5
  SHA512:
6
- metadata.gz: 38a07c159dfcdf9de7038285fe886b222efecfaad279a99a324ef90692a9a0985172e7476dc718d6834be49bcf7090f8c919357cfc3606484a71af49a0c108c1
7
- data.tar.gz: bd4b6c0a0b481f76cd0d76e8af804d9aab69e17b1c509d68b245c89a2b536163efd9463e58e7de6f10391d67bd2b022b7c6f1d60fd3ec88af86e7ecda6730f18
6
+ metadata.gz: 2ae98c2ab4ca9e9aa28ecb04fdabccc80bba7eda75cdf05e62d05a0ca7096926e7ec7a308a4336afbc6e352890e46d9cbeef915617d28e75447f195e6a75f2f8
7
+ data.tar.gz: 5dc24ff9af43340470c4283716844fa469b358d1bd478deb08b426b42ff01dc9b4a40131e80539a1e9cbc3c40f6550d2416856b0b3615d7592b4d9c092f5bba2
data/README.md CHANGED
@@ -8,10 +8,13 @@ but as Capistrano 3 is multistage by default (unlike Cap 2) :stage should
8
8
  already be set, but you can override the variable if you want to change the
9
9
  name of the tag.
10
10
 
11
- ### Requires Capistrano 3
11
+ ### Requires Capistrano 3.7
12
12
 
13
- As of version 1.0.0, this plugin requires Cap 3. If you need a Capistrano
14
- 2 compatible version, then use `gem 'capistrano-deploytags', '~> 0.9.2'`
13
+ As of version 1.0.7, this plugin requires Cap 3.7.
14
+
15
+ If you need a Capistrano < 3.7 compatible version, then use `gem 'capistrano-deploytags', '1.0.6'`
16
+
17
+ If you need a Capistrano 2 compatible version, then use `gem 'capistrano-deploytags', '~> 0.9.2'`
15
18
 
16
19
  ### What It Does
17
20
 
@@ -13,7 +13,7 @@ namespace :deploy do
13
13
  raise 'define :branch and :stage'
14
14
  end
15
15
 
16
- strategy.git "fetch #{fetch(:git_remote, 'origin')}"
16
+ execute :git, "fetch #{fetch(:git_remote, 'origin')}"
17
17
 
18
18
  diff_output = capture :git, "diff #{branch} --shortstat"
19
19
 
@@ -22,9 +22,9 @@ namespace :deploy do
22
22
  raise 'Dirty git tree'
23
23
  end
24
24
 
25
- strategy.git "checkout #{branch}"
25
+ execute :git, "checkout #{branch}"
26
26
  info "Pulling from #{branch}"
27
- strategy.git "pull #{fetch(:git_remote, 'origin')} #{branch}"
27
+ execute :git, "pull #{fetch(:git_remote, 'origin')} #{branch}"
28
28
  end
29
29
  end
30
30
  end
@@ -40,8 +40,8 @@ namespace :deploy do
40
40
  commit_message = CapistranoDeploytags::Helper.commit_message(latest_revision, fetch(:stage))
41
41
 
42
42
  unless fetch(:sshkit_backend) == SSHKit::Backend::Printer # unless --dry-run flag present
43
- strategy.git "tag -a #{tag_name} -m \"#{commit_message}\" #{latest_revision}"
44
- strategy.git "push #{fetch(:git_remote, 'origin')} #{tag_name}"
43
+ execute :git, "tag -a #{tag_name} -m \"#{commit_message}\" #{latest_revision}"
44
+ execute :git, "push #{fetch(:git_remote, 'origin')} #{tag_name}"
45
45
  end
46
46
 
47
47
  info "[cap-deploy-tagger] Tagged #{latest_revision} with #{tag_name}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-deploytags
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karl Matthias
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-01-06 00:00:00.000000000 Z
12
+ date: 2017-02-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: 3.2.0
20
+ version: 3.7.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: 3.2.0
27
+ version: 3.7.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rake
30
30
  requirement: !ruby/object:Gem::Requirement