fastlane-plugin-alioss 0.2.1 → 0.2.2

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: fb01faceabdadb101ad5cd03b2d8ac7a48c6aacd04660c2a6ceee83b2e8b3663
4
- data.tar.gz: 9ae54709fc32c44896a9f8352cafcbb2451e52836c5c99e29665a464d8c3373f
3
+ metadata.gz: 3407ac577c77dbc5a4cd56051df9c1362e8828ce38c2e47ae2d72fc343b2a069
4
+ data.tar.gz: 4c4b89f30f4d088588bebab53502cd4e26b1eef64d9e29e5fa2f27a660c11962
5
5
  SHA512:
6
- metadata.gz: 26d57328b2bc249a666d442e34350d222972c309f6f020d384c8aa68ada4126784a3f0cc1d06af512e663fe037b04dd8ce6626d0a33fa197e4315d4ebf8804b4
7
- data.tar.gz: 3b68e3905dcdb340eeb4bca2634bf7c65aeab5feaf1cc32a18a846e2487a10a0836db7bab10e1b6181c06d3153abd2be69e5dd19d66e92ad801f9e5db7cffe9d
6
+ metadata.gz: c3d6c45fe4f62dff19937917010aba10cdb66eb02fdc1ebb18cd38f7ea563231314e03607a21f663e2bc68e21e519422e63e3d5c04f0eef906d047683a169dfb
7
+ data.tar.gz: 5c79db5cdd586d4c7952e1b282d1293df429b78007b380db3e935894b68fd76eaaf33a0149c4361f88f920cf52c475df439b3e6a88a63d98f085ac6b01b0ca47
@@ -7,11 +7,11 @@ require 'json'
7
7
  module Fastlane
8
8
  module Actions
9
9
  module SharedValues
10
- BUILD_NUMBER = :BUILD_NUMBER
11
- VERSION_NUMBER = :VERSION_NUMBER
12
- PUBLISH_TIMESTAMP = :PUBLISH_TIMESTAMP
13
- FILE_SIZE = :FILE_SIZE
14
- DOWNLOAD_URL = :DOWNLOAD_URL
10
+ ALIOSS_BUILD_NUMBER = :ALIOSS_BUILD_NUMBER
11
+ ALIOSS_VERSION_NUMBER = :ALIOSS_VERSION_NUMBER
12
+ ALIOSS_PUBLISH_TIMESTAMP = :ALIOSS_PUBLISH_TIMESTAMP
13
+ ALIOSS_FILE_SIZE = :ALIOSS_FILE_SIZE
14
+ ALIOSS_DOWNLOAD_URL = :ALIOSS_DOWNLOAD_URL
15
15
  end
16
16
 
17
17
  class AliossAction < Action
@@ -194,11 +194,11 @@ module Fastlane
194
194
  "time" => timestamp.to_i
195
195
  }
196
196
  # Store the build_number, version_number, time, size
197
- Actions.lane_context[SharedValues::BUILD_NUMBER] = build_number
198
- Actions.lane_context[SharedValues::VERSION_NUMBER] = version_number
199
- Actions.lane_context[SharedValues::PUBLISH_TIMESTAMP] = timestamp.to_i
200
- Actions.lane_context[SharedValues::FILE_SIZE] = file_size
201
- Actions.lane_context[SharedValues::DOWNLOAD_URL] = "#{download_domain}#{path_for_app_name}/index.html"
197
+ Actions.lane_context[SharedValues::ALIOSS_BUILD_NUMBER] = build_number
198
+ Actions.lane_context[SharedValues::ALIOSS_VERSION_NUMBER] = version_number
199
+ Actions.lane_context[SharedValues::ALIOSS_PUBLISH_TIMESTAMP] = timestamp.to_i
200
+ Actions.lane_context[SharedValues::ALIOSS_FILE_SIZE] = file_size
201
+ Actions.lane_context[SharedValues::ALIOSS_DOWNLOAD_URL] = "#{download_domain}#{path_for_app_name}/index.html"
202
202
 
203
203
  # 根据不同的平台,将bucket_path记录到json中
204
204
  case File.extname(filename)
@@ -274,11 +274,11 @@ module Fastlane
274
274
 
275
275
  def self.output
276
276
  [
277
- ['BUILD_NUMBER', 'Update the new build number(version code) of your iOS/Android project'],
278
- ['VERSION_NUMBER', 'Update the new version number(version name) of your iOS/Android project'],
279
- ['PUBLISH_TIMESTAMP', 'The timestamp of auto-build'],
280
- ['FILE_SIZE', 'The size of your ipa/apk file'],
281
- ['DOWNLOAD_URL', 'The website url that you can download it']
277
+ ['ALIOSS_BUILD_NUMBER', 'Update the new build number(version code) of your iOS/Android project'],
278
+ ['ALIOSS_VERSION_NUMBER', 'Update the new version number(version name) of your iOS/Android project'],
279
+ ['ALIOSS_PUBLISH_TIMESTAMP', 'The timestamp of auto-build'],
280
+ ['ALIOSS_FILE_SIZE', 'The size of your ipa/apk file'],
281
+ ['ALIOSS_DOWNLOAD_URL', 'The website url that you can download it']
282
282
  ]
283
283
  end
284
284
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Alioss
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-alioss
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - woodwu