renuo-cli 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.ruby-version +1 -1
- data/bin/setup +1 -0
- data/lib/renuo/cli/app/release_project.rb +7 -2
- data/lib/renuo/cli/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 58d443df0bdb7b235f2302b2985a61e22ed4c632b3d7c94b851f15d949c73f84
|
4
|
+
data.tar.gz: b5f3dd938a626821eed89bd77e7b258e5e54b474ba6177ad33a613532e0dedd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db75471beea7f88065f351fed2798bc668ec7bb5ad839fc8bc9194c501cdd1ee84a045392985d26b55d73ad567d249cc24bf8866d1dc58ed3a48f48981fdb7f0
|
7
|
+
data.tar.gz: 4a7b98a910765d0c0b5c68d5bb87b1fae595575d71e76e65615a455c881a01cb4dfd64f4127d807f05bd0533d8829702a5d2e47ad5eefc9e89d22afd9576daf5
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.5.0
|
data/bin/setup
CHANGED
@@ -5,11 +5,10 @@ class ReleaseProject
|
|
5
5
|
|
6
6
|
def run(args)
|
7
7
|
project_name, @update_type, @version = args
|
8
|
-
|
9
8
|
validate_update_type(@update_type, @version)
|
10
9
|
@version = validate_version(@version)
|
11
10
|
validate_project_name(project_name)
|
12
|
-
|
11
|
+
compare_develop_master(project_name)
|
13
12
|
release(project_name, @update_type, @version)
|
14
13
|
ensure
|
15
14
|
cleanup
|
@@ -47,6 +46,12 @@ class ReleaseProject
|
|
47
46
|
end
|
48
47
|
end
|
49
48
|
|
49
|
+
def compare_develop_master(project_name)
|
50
|
+
say('Please double-check what is going to be deployed.')
|
51
|
+
system "open https://github.com/#{project_name}/compare/master...develop"
|
52
|
+
abort unless agree('Are you fine with those changes?')
|
53
|
+
end
|
54
|
+
|
50
55
|
def release(project_name, update_type, version)
|
51
56
|
version ||= update_version_number(current_version(project_name), update_type)
|
52
57
|
|
data/lib/renuo/cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: renuo-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Renuo AG
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|
@@ -259,7 +259,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
259
259
|
version: '0'
|
260
260
|
requirements: []
|
261
261
|
rubyforge_project:
|
262
|
-
rubygems_version: 2.
|
262
|
+
rubygems_version: 2.7.3
|
263
263
|
signing_key:
|
264
264
|
specification_version: 4
|
265
265
|
summary: The Renuo CLI automates some commonly used workflows by providing a command
|