devops_helper 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/devops_helper.gemspec +3 -3
- data/lib/devops_helper/tasks/release/gem.rake +5 -2
- data/lib/devops_helper/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d46943b789031f23adcb9c352090b67873e45dc414bc2fd0206d80a99a71b50
|
4
|
+
data.tar.gz: a1481cb5664dbd8a8c0afe1adefd3380678b477e88886fd21f23d003387cad68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a013f5253f1a7c5c4f45ae812884fcb8dd6b8b34f59fd41e768b1e90ebf3a0101ef69c69f6c5b71ea1e79f1de40a9cf666273492fbfbaeb197ee1559a67a4538
|
7
|
+
data.tar.gz: f8258753e1bc96cc4a5598af65edce73755209d50ca17247260e2cc871a69cef389ce25893e5b73fade76166e0cd34f136a581e8ae2685a62dcefec8bf778200
|
data/devops_helper.gemspec
CHANGED
@@ -29,10 +29,10 @@ Gem::Specification.new do |spec|
|
|
29
29
|
|
30
30
|
spec.add_dependency 'toolrack', '~> 0.4.0'
|
31
31
|
spec.add_dependency 'tlogger', '~> 0.22.0'
|
32
|
-
spec.add_dependency 'tty-prompt'
|
32
|
+
spec.add_dependency 'tty-prompt', '0.22.0'
|
33
33
|
|
34
|
-
spec.add_dependency 'gvcs', '
|
35
|
-
spec.add_dependency 'git_cli', '
|
34
|
+
spec.add_dependency 'gvcs', '>= 0.1.0'
|
35
|
+
spec.add_dependency 'git_cli', '>= 0.6.0'
|
36
36
|
|
37
37
|
#spec.add_dependency 'rubygems-tasks'
|
38
38
|
|
@@ -24,7 +24,7 @@ namespace :devops do
|
|
24
24
|
|
25
25
|
vh = DevopsHelper::VcsHelper.new(wd)
|
26
26
|
if vh.is_workspace?
|
27
|
-
|
27
|
+
# check if workspace has pending changes
|
28
28
|
begin
|
29
29
|
if vh.has_pending_changes? or vh.has_new_changes?
|
30
30
|
cc = tp.yes?("There are pending changes not yet commit. Commit first? ")
|
@@ -83,7 +83,7 @@ namespace :devops do
|
|
83
83
|
# tagging start here. Any new changes has to be done before this stage
|
84
84
|
if vh.is_workspace?
|
85
85
|
begin
|
86
|
-
tagSrc = tp.yes?("
|
86
|
+
tagSrc = tp.yes?("\nTag the source code for this release? ")
|
87
87
|
if tagSrc
|
88
88
|
msg = tp.ask("Please provide message for this tag (optional) : ", default: "Tagged version '#{targetVersion}' by DevOps Helper")
|
89
89
|
msg = "Automated tagging version '#{targetVersion}' by DevOps Helper" if is_empty?(msg)
|
@@ -132,6 +132,9 @@ namespace :devops do
|
|
132
132
|
end
|
133
133
|
# end push gem
|
134
134
|
|
135
|
+
# push source code?
|
136
|
+
#pushSrc = tp.no?("Do you want to push the source code to remote?")
|
137
|
+
|
135
138
|
elsif is_empty?(spec)
|
136
139
|
STDERR.puts "gemspec file not found at '#{wd}'"
|
137
140
|
exit(2)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devops_helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris
|
@@ -42,42 +42,42 @@ dependencies:
|
|
42
42
|
name: tty-prompt
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 0.22.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 0.22.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: gvcs
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 0.1.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 0.1.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: git_cli
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: 0.6.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 0.6.0
|
83
83
|
description: " "
|