capistrano-github-releases 0.4.2 → 0.5.0
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 +1 -1
- data/lib/capistrano/github/releases/version.rb +1 -1
- data/lib/capistrano/tasks/github_releases.rake +15 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8e356ec88bb0975b9c916b1465215dfa1859902e
|
|
4
|
+
data.tar.gz: e059ed7cf99b252a6394662d044529f671ffeaa4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ac473d8e89a47aede389e2b433c844402c0b7685aa7fae85b369f463e727a8ea9c120be99f07c0c2316d8111b26d575822673af7e61d8febb6d92fcec38c08ac
|
|
7
|
+
data.tar.gz: 79b7fe600ac15cbcf418363bd8e4dba8cbf84d64c681d2910a26558e5d7b8e2a783503f176e374875d3a40e792b3bfb3faf0bee183ad34bd2e316b79bbf2afd0
|
data/README.md
CHANGED
|
@@ -8,7 +8,7 @@ $ bundle exec cap production github:releases:create # Auto creation by last pull
|
|
|
8
8
|
$ bundle exec cap production github:releases:add_comment # Auto comment to last pull-request
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
[][gem]
|
|
12
12
|
[gem]: https://rubygems.org/gems/capistrano-github-releases
|
|
13
13
|
|
|
14
14
|
Installation
|
|
@@ -155,6 +155,21 @@ namespace :github do
|
|
|
155
155
|
end
|
|
156
156
|
end
|
|
157
157
|
end
|
|
158
|
+
|
|
159
|
+
desc 'Remove all labels of the pull request'
|
|
160
|
+
task remove_labels: :authentication do
|
|
161
|
+
run_locally do
|
|
162
|
+
begin
|
|
163
|
+
Octokit.remove_all_labels(
|
|
164
|
+
fetch(:github_repo),
|
|
165
|
+
fetch(:pull_request_id)
|
|
166
|
+
)
|
|
167
|
+
info "Labels of #{fetch(:github_repo)}/pull##{fetch(:pull_request_id)} was removed"
|
|
168
|
+
rescue => e
|
|
169
|
+
error e.message
|
|
170
|
+
end
|
|
171
|
+
end
|
|
172
|
+
end
|
|
158
173
|
end
|
|
159
174
|
|
|
160
175
|
namespace :git do
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-github-releases
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- linyows
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-10-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|
|
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
131
131
|
version: '0'
|
|
132
132
|
requirements: []
|
|
133
133
|
rubyforge_project:
|
|
134
|
-
rubygems_version: 2.
|
|
134
|
+
rubygems_version: 2.5.1
|
|
135
135
|
signing_key:
|
|
136
136
|
specification_version: 4
|
|
137
137
|
summary: GitHub Releases tasks for Capistrano v3
|