fastlane-plugin-discord_webhook_notifier 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff32ad8b9bd968f5bd5867b5df6eb5a79684035be89ba58c7e814d5545071d91
|
4
|
+
data.tar.gz: 7fae92396a4186bca2bc7d8dd64dcd4f2925c99575bdff82cc387ba73dea7286
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: faa1ca67617d6a634acf2ea86c0e2fb47a8608507672e5db2bbc0eceb64ac3686156c6740d1ccac4d4e771a82e4ae3df05c994263792bac0e8c2f8169d894c02
|
7
|
+
data.tar.gz: 1abc3ef0640f9a21c6fbc7933f61f2875181be2e37d182a1363dc1eae50c11f0d266433081564107c0aca6669cdc2f2655c3b4710e9a94f5e89a24ca68b1afb1
|
data/README.md
CHANGED
@@ -12,16 +12,34 @@ fastlane add_plugin discord_webhook_notifier
|
|
12
12
|
|
13
13
|
## About discord_webhook_notifier
|
14
14
|
|
15
|
-
Notify a Discord channel easily when a build
|
15
|
+
Notify a Discord channel easily when a build breaks.
|
16
|
+
|
17
|
+
Quick sample:
|
18
|
+
```ruby
|
19
|
+
lastCommit = last_git_commit
|
20
|
+
|
21
|
+
discord_webhook_notifier(
|
22
|
+
webhook_url: "https://discord.com/api/webhooks/CHANNEL/KEY",
|
23
|
+
message: "🔥 Ohhh no! An error ocurred when building!",
|
24
|
+
parameters: {
|
25
|
+
"platform" => "iOS",
|
26
|
+
"commit_author" => lastCommit[:commit_author].to_s,
|
27
|
+
"commit_hash" => lastCommit[:commit_hash].to_s,
|
28
|
+
"commit_message" => lastCommit[:message][0,20].delete("\n").to_s,
|
29
|
+
"commit_count" => number_of_commits.to_s
|
30
|
+
},
|
31
|
+
build_url: ENV['BITRISE_BUILD_URL']
|
32
|
+
)
|
33
|
+
```
|
34
|
+
|
35
|
+
![Notification on Discord](sample/sample.png "Title")
|
36
|
+
|
16
37
|
|
17
|
-
**Note to author:** Add a more detailed description about this plugin here. If your plugin contains multiple actions, make sure to mention them here.
|
18
38
|
|
19
39
|
## Example
|
20
40
|
|
21
41
|
Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane test`.
|
22
42
|
|
23
|
-
**Note to author:** Please set up a sample project to make it easy for users to explore what your plugin does. Provide everything that is necessary to try out the plugin in this project (including a sample Xcode/Android project if necessary)
|
24
|
-
|
25
43
|
## Run tests for this plugin
|
26
44
|
|
27
45
|
To run both the tests, and code style validation, run
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-discord_webhook_notifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel B Bispo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -167,8 +167,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
167
167
|
- !ruby/object:Gem::Version
|
168
168
|
version: '0'
|
169
169
|
requirements: []
|
170
|
-
rubygems_version: 3.0.3
|
170
|
+
rubygems_version: 3.0.3.1
|
171
171
|
signing_key:
|
172
172
|
specification_version: 4
|
173
|
-
summary: Notify a Discord channel
|
173
|
+
summary: Notify a Discord channel easily when a build breaks
|
174
174
|
test_files: []
|