dev_flow 0.1.5 → 0.1.6
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.
@@ -31,9 +31,9 @@ module DevFlow
|
|
31
31
|
|
32
32
|
info "commit progress"
|
33
33
|
`git commit -am '#{message}'`
|
34
|
-
if @config[
|
34
|
+
if @config["git_remote"]
|
35
35
|
info "push your progress to remote server"
|
36
|
-
`git push #{@config[
|
36
|
+
`git push #{@config["git_remote"]} #{current_task.branch_name}`
|
37
37
|
end
|
38
38
|
|
39
39
|
# goto develop branch and merge
|
@@ -55,7 +55,7 @@ module DevFlow
|
|
55
55
|
`git tag #{tag}`
|
56
56
|
end
|
57
57
|
info "Push your change to remote server"
|
58
|
-
`git push #{@config[
|
58
|
+
`git push #{@config["git_remote"]} --tags master` if @config["git_remote"]
|
59
59
|
|
60
60
|
puts "Now your are on branch #{'master'.bold.red}"
|
61
61
|
puts "You may want to review and test the program again and then switch back to develop trunk."
|
@@ -30,9 +30,9 @@ module DevFlow
|
|
30
30
|
|
31
31
|
info "Commit your progress"
|
32
32
|
`git commit -am '#{message}'`
|
33
|
-
if @config[
|
33
|
+
if @config["git_remote"]
|
34
34
|
info "push your progress to remote server"
|
35
|
-
`git push #{@config[
|
35
|
+
`git push #{@config["git_remote"]} #{current_task.branch_name}`
|
36
36
|
end
|
37
37
|
|
38
38
|
# rewrite progress in ROADMAP file under develop trunk
|
@@ -22,9 +22,9 @@ module DevFlow
|
|
22
22
|
|
23
23
|
info "commit your progress"
|
24
24
|
`git commit -am '#{message}'`
|
25
|
-
if @config[
|
25
|
+
if @config["git_remote"]
|
26
26
|
info "push your progress to remote server"
|
27
|
-
`git push #{@config[
|
27
|
+
`git push #{@config["git_remote"]} #{current_task.branch_name}`
|
28
28
|
end
|
29
29
|
|
30
30
|
# rewrite progress in ROADMAP file under develop trunk
|
data/lib/dev_flow/commands/ur.rb
CHANGED
@@ -10,7 +10,7 @@ module DevFlow
|
|
10
10
|
`git add .`
|
11
11
|
`git commit -am 'update roadmap'`
|
12
12
|
info "Push your change to the remote server"
|
13
|
-
`git push #{@config[
|
13
|
+
`git push #{@config["git_remote"]} develop` if @config["git_remote"]
|
14
14
|
end
|
15
15
|
|
16
16
|
end # class
|
data/lib/dev_flow/version.rb
CHANGED