release-conductor 0.0.5 → 0.0.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.
- checksums.yaml +4 -4
- data/README.md +17 -0
- data/lib/release-conductor/version.rb +1 -1
- data/lib/release-conductor.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 529a0431c896510d46299d4aa2cf7a9da988e469
|
4
|
+
data.tar.gz: a5beff697bfae42589d61de60ecb59c9b0cd5007
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ab1e62d5c296748a3c380a198eda2ea33e26326ad1820dfd761fbed1f4f0a08a34bd1397e052287dfaea23c30b414565c644f0cfac2e9f633dd4e77b06b2bc7
|
7
|
+
data.tar.gz: 64ba56f98af96b1f1c686f5c412001c5f94ab8ce653e4e939aca50936e3d83619cad257322ac2cc57ad4a41f4dc1153655c9beec66c9fe8e76281ee6ae386b2c
|
data/README.md
CHANGED
@@ -53,6 +53,23 @@ Deploy your application like normal and the tickets should be marked.
|
|
53
53
|
|
54
54
|
## TODO
|
55
55
|
|
56
|
+
## To publish a new version: (0.0.5 in this example)
|
57
|
+
|
58
|
+
1. fix the bug
|
59
|
+
2. update version.rb
|
60
|
+
3. git commit -a -m "0.0.5 <my-comment-there>"
|
61
|
+
4. git tag 0.0.5
|
62
|
+
5. git push --tags
|
63
|
+
6. gem build release-conductor.gemspec
|
64
|
+
7. gem push push release-conductor-0.0.5.gem
|
65
|
+
|
66
|
+
## To upgrade CODE to use the new version of the gem
|
67
|
+
|
68
|
+
1. git checkout code-dev
|
69
|
+
2. bundle update release-conductor
|
70
|
+
3. git commit -a -m "@wip upgrading release-conductor gem"
|
71
|
+
4. git woe minor (OR, merge the new Gemfile.lock into all the branches that need it)
|
72
|
+
|
56
73
|
## Contributing
|
57
74
|
|
58
75
|
1. Fork it
|
data/lib/release-conductor.rb
CHANGED
@@ -76,7 +76,7 @@ module ReleaseConductor
|
|
76
76
|
end
|
77
77
|
end
|
78
78
|
|
79
|
-
def self.
|
79
|
+
def self.set_unfuddle_phase(config, tickets, phase_value_id)
|
80
80
|
tickets.each do |ticket|
|
81
81
|
puts "release conductor: punching ticket ##{ticket['number']}"
|
82
82
|
url = "/api/v1/projects/#{config.fetch(:project_id)}/tickets/#{ticket['id']}"
|
@@ -106,7 +106,7 @@ module ReleaseConductor
|
|
106
106
|
if current_branch == branch
|
107
107
|
tickets = filter_by_versions(run_ticket_report(config,report(config,env)),versions)
|
108
108
|
phase_id = config.fetch(env == :staging ? :test_phase : :production_phase)
|
109
|
-
|
109
|
+
set_unfuddle_phase(config, tickets, phase_id)
|
110
110
|
else
|
111
111
|
puts "release conductor: not punching tickets as you are in branch #{current_branch} NOT #{branch}"
|
112
112
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: release-conductor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rob Mathews
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|