fastlane-plugin-upload_to_gitlab 0.1.0 → 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: deb942421bcb8b7c01cdd914d4022a7f081a654462c090fb0df5bfc98a86bdf4
4
- data.tar.gz: 88808b488610075e0a7bfe5bdccabd9602228f155f4d468709a13dc27fa3c70d
3
+ metadata.gz: 81207b2a8ae24945191bb2ddb76d3f50a91e892096ddd238b982e0f836426ce2
4
+ data.tar.gz: 5094de47b899bb8a0d1c2db70d1e91c0ef5c9af03533fd8df05deb89d0c8d8bc
5
5
  SHA512:
6
- metadata.gz: 67b9678664e752c263a7f024192bf6498b4055d3ea8cbda7773b04da6663aafa337f20001a285c21624061701b65138bfa98a3f0741b3220c5973236559902c4
7
- data.tar.gz: 3e56c4853345e8bab6bc01857ef877b51c27a8d178eb6344d759f3fe67c1862444a71d2c795a3195641c19ececfe37388756574ea768d669e08b3b203a04cd58
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}/projects/#{project_id}/packages/generic/apk/#{version}/#{asset_name}"
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}/projects/#{project_id}/releases/") do |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"
@@ -35,7 +35,7 @@ module Fastlane
35
35
  when Net::HTTPRedirection
36
36
  make_request(http, res["Location"], &block)
37
37
  else
38
- UI.crash!("Error making request #{req} due to #{res}")
38
+ UI.crash!("Error making request #{req.method} #{req.uri} #{req.path} due to #{res.inspect}")
39
39
  end
40
40
  end
41
41
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module UploadToGitlab
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
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.0
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: 2022-02-26 00:00:00.000000000 Z
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.2.22
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