fastlane-plugin-upload_to_gitlab 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: 81207b2a8ae24945191bb2ddb76d3f50a91e892096ddd238b982e0f836426ce2
|
4
|
+
data.tar.gz: 5094de47b899bb8a0d1c2db70d1e91c0ef5c9af03533fd8df05deb89d0c8d8bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 956d0e18f58061e4e3f6c5e6126147f65d6240ceba2cf74931348abff9e5232f9c160f013ea7a154652ba552f5e40d53adfd4121047e8adec987d5ce36d974e8
|
7
|
+
data.tar.gz: 3be2f760f3021b0260993eb6589e46721dea45ba1bf22104dff410fe772592a1dfb030e8ba1ca16ada91ce9346fd742fc4d6026e8869dc186032bc92dfb72dc6
|
@@ -13,7 +13,7 @@ module Fastlane
|
|
13
13
|
asset_paths = params[:asset_paths]
|
14
14
|
Net::HTTP.start(base_uri.host, base_uri.port, use_ssl: base_uri.scheme == "https") do |http|
|
15
15
|
assets_links = asset_paths.map do |asset_name, asset_path|
|
16
|
-
release_url = "#{base_url}
|
16
|
+
release_url = "#{base_url}projects/#{project_id}/packages/generic/apk/#{version}/#{asset_name}"
|
17
17
|
release_uri = URI(release_url)
|
18
18
|
|
19
19
|
UI.verbose("Uploading asset to #{release_url}")
|
@@ -16,7 +16,7 @@ module Fastlane
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def self.create_release(http, base_url, project_id, token, tag, assets_links)
|
19
|
-
make_request(http, "#{base_url}
|
19
|
+
make_request(http, "#{base_url}projects/#{project_id}/releases/") do |url|
|
20
20
|
req = Net::HTTP::Post.new(url)
|
21
21
|
req["Authorization"] = "Bearer #{token}"
|
22
22
|
req["Content-Type"] = "application/json"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-upload_to_gitlab
|
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
|
- Hackintosh 5
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
181
181
|
- !ruby/object:Gem::Version
|
182
182
|
version: '0'
|
183
183
|
requirements: []
|
184
|
-
rubygems_version: 3.
|
184
|
+
rubygems_version: 3.3.26
|
185
185
|
signing_key:
|
186
186
|
specification_version: 4
|
187
187
|
summary: Fastlane plugin to upload releases to GitLab
|