ci_toolkit 1.5.12 → 1.5.13

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8fa2f5b41681cc907b1e7502f3116c1b543290d54beadf69520a83636b134acb
4
- data.tar.gz: 327e99a5343e6c7ff2dca414a0defe24b9ebb74a2b544612829c8499e573a242
3
+ metadata.gz: 2c6cb094c0636a1550e143903d23435cd41f5824bf9eaa6d1623c10aebb82944
4
+ data.tar.gz: 139787c313009523efc6aa645dbd1b0f403e3ffb8570f74834c283a480303a68
5
5
  SHA512:
6
- metadata.gz: e3b0479e00b931576e3157650a9b392595a8e4712b31a06b2a5e76cc4c913449f7a5db54864104dd4d842cd1de4dcf63ce1e402444887ff19e14e2fd1037c944
7
- data.tar.gz: c1bff2a96a76315d1feb1679e8b41f24960eda3ac837f7e3542b550d121ce70c9f0cd5ec68a9ec34b2c05dce59cfe7150e3cebc0364de222954ea3f0dddb8e56
6
+ metadata.gz: c786f7af35ade2e8b64c44df34b13f3f0f0699308f58bb525d1b424da0c6e21d75a8e32b0e5100a9991eee28755ba89c19109ab330791b57875c561453bf10e1
7
+ data.tar.gz: ce3681caee0f33a5bf3d40c5c1819b02f25d95e355588618ab3c4c53bad6d4316235111d8d3bd23435bb20789c8f49eb1c5fc69c594d4816bae5c9ef26a207ba
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ci_toolkit (1.5.12)
4
+ ci_toolkit (1.5.13)
5
5
  faraday
6
6
  faraday_middleware
7
7
  gitlab
@@ -7,10 +7,11 @@ module CiToolkit
7
7
  class GitlabRelease
8
8
  def initialize(
9
9
  env = CiToolkit::BitriseEnv.new,
10
- client = Gitlab.client(endpoint: ENV["GITLAB_API_URL"] || "",
11
- private_token: ENV["GITLAB_USER_PRIVATE_TOKEN"] || "")
10
+ client = Gitlab.client(endpoint: "https://git.smartlife.vodafo.ne/api/v4",
11
+ private_token: "glpat-YcYDycpz-PJe7QxLSA22")
12
12
  )
13
13
  @repo_slug = env.repository_slug
14
+ @commit_sha = env.git_commit
14
15
  @client = client
15
16
  end
16
17
 
@@ -24,6 +25,7 @@ module CiToolkit
24
25
  release_details = {
25
26
  name: name,
26
27
  tag_name: tag_name,
28
+ ref: @commit_sha,
27
29
  description: description,
28
30
  assets: { links: [get_assets_details(project_id, tag_name, file_name)] }
29
31
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ci_toolkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.12
4
+ version: 1.5.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gero Keller