fastlane-plugin-semantic_release_workflow 1.0.1 → 1.0.6
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: 773b1f828b05184acc2a86ccc0f0d2cedf5e9bb385fd4d4b3452be54ca39dd72
|
4
|
+
data.tar.gz: b8911393421560920dc15e2cae66ee794b734f1bd333f1bfed49e64d21b021e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8427a3014d612f6439dc66e326043790a4cf2673ce08d982fefd31b9c64d5978d5a5d2d7dbaf0fdf84a61f9692ac8cb141ffbbee881f06a9aea237f47a782e39
|
7
|
+
data.tar.gz: 73a9f6f8814015e2c25943ebb87586fb1a77f959e815937a07b8696ef3644eef80e93f7b1073e5622988668f9689ae378a47d7ed117a55e24a4fb17615a4a80d
|
@@ -16,13 +16,12 @@ module Fastlane
|
|
16
16
|
req = Net::HTTP::Post.new(uri)
|
17
17
|
req['Content-Type'] = 'application/json'
|
18
18
|
req['PRIVATE-TOKEN'] = params[:private_token]
|
19
|
-
puts(git_branch)
|
20
19
|
req.body = {
|
21
|
-
"assets":
|
20
|
+
"assets": params[:assets],
|
22
21
|
"description": params[:description],
|
23
22
|
"milestones": [],
|
24
23
|
"name": params[:title],
|
25
|
-
"ref":
|
24
|
+
"ref": params[:branch_name],
|
26
25
|
"tag_name": params[:tag]
|
27
26
|
}.to_json
|
28
27
|
res = http.request(req)
|
@@ -77,6 +76,16 @@ module Fastlane
|
|
77
76
|
key: :tag,
|
78
77
|
description: "Release tag",
|
79
78
|
optional: true
|
79
|
+
),
|
80
|
+
FastlaneCore::ConfigItem.new(
|
81
|
+
key: :branch_name,
|
82
|
+
description: "Git branch name",
|
83
|
+
optional: false
|
84
|
+
),
|
85
|
+
FastlaneCore::ConfigItem.new(
|
86
|
+
key: :assets,
|
87
|
+
description: "Release assets",
|
88
|
+
optional: true
|
80
89
|
)
|
81
90
|
]
|
82
91
|
end
|
@@ -1 +1 @@
|
|
1
|
-
module Fastlane module
|
1
|
+
module Fastlane module SemanticReleaseWorkflow VERSION = "1.0.6" end end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'fastlane/plugin/semantic_release/version'
|
2
2
|
|
3
3
|
module Fastlane
|
4
|
-
module
|
4
|
+
module SemanticReleaseWorkflow
|
5
5
|
# Return all .rb files inside the "actions" and "helper" directory
|
6
6
|
def self.all_classes
|
7
7
|
Dir[File.expand_path('**/{actions,helper}/*.rb', File.dirname(__FILE__))]
|
@@ -11,6 +11,6 @@ end
|
|
11
11
|
|
12
12
|
# By default we want to import all available actions and helpers
|
13
13
|
# A plugin can contain any number of actions and plugins
|
14
|
-
Fastlane::
|
14
|
+
Fastlane::SemanticReleaseWorkflow.all_classes.each do |current|
|
15
15
|
require current
|
16
16
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-semantic_release_workflow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Phong Nguyen
|
@@ -144,12 +144,12 @@ extra_rdoc_files: []
|
|
144
144
|
files:
|
145
145
|
- LICENSE
|
146
146
|
- README.md
|
147
|
-
- lib/fastlane/plugin/semantic_release.rb
|
148
147
|
- lib/fastlane/plugin/semantic_release/actions/analyze_commits.rb
|
149
148
|
- lib/fastlane/plugin/semantic_release/actions/conventional_changelog.rb
|
150
149
|
- lib/fastlane/plugin/semantic_release/actions/create_release.rb
|
151
150
|
- lib/fastlane/plugin/semantic_release/helper/semantic_release_helper.rb
|
152
151
|
- lib/fastlane/plugin/semantic_release/version.rb
|
152
|
+
- lib/fastlane/plugin/semantic_release_workflow.rb
|
153
153
|
homepage: https://github.com/phongnguyen93/fastlane-plugin-semantic_release
|
154
154
|
licenses:
|
155
155
|
- MIT
|