lkpackage 0.1.6 → 0.1.7

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: f4a55f7a6f80fcfc542eb38daa47a3a31b2c83e5264233916537aea1ff61f53d
4
- data.tar.gz: 6f4445da436807abc700a5824702b8d9e765898ed0b535e085322552f6d6eefe
3
+ metadata.gz: d2940a7b80f4939ad52a2f0301cc88311f50e8bc703f72766ff6379cc4997833
4
+ data.tar.gz: 2d5cdaed31d48d4984126670a26c86f92c28df1b323010e73d6abb76b5575fbc
5
5
  SHA512:
6
- metadata.gz: 63e97236b5eb710e739e0bb3b43fbd394bd3a1ee5b535d621e53eb05dee3a14aae7786994092556772f3eae47a69c20e1db812c40613bba0446d83b3db9ba76e
7
- data.tar.gz: 74da79e2dd7c681a99b00a9356ee93e7a5ae7075ae3059a9ef3002d5492e5face7ae91b5a2f1775ee55dc1b368ca39fa1c100da5477e64f0fee5789368f59a67
6
+ metadata.gz: fd6e1c037d9ad3396167351f2bdc92d014c70d1f01183c7e6710ae214f0ceefe8616581632f190ddec33a8b8c6b5f4a914fb65fce4d2a884a6fea8787e4426d2
7
+ data.tar.gz: 291a8ab5c555a3e2dac8bde6566db7ce2a1972c93ec3423597d5fa3ad3cbf72162b18ef2656baa3e9deed5ea347aac39f6fb874ce6eb89574fe661274d9e12d3
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lkpackage
4
- VERSION = "0.1.6"
4
+ VERSION = "0.1.7"
5
5
  end
data/lib/lkpackage.rb CHANGED
@@ -19,7 +19,14 @@ module Lkpackage
19
19
  if repoSource.empty?
20
20
  raise "请输入 repo source"
21
21
  end
22
-
22
+ puts "podspec 文件:#{podspecFile}"
23
+ puts "tag 版本:#{tagVersion}"
24
+ puts "是否打包静态库:#{needPackageLib}"
25
+ puts "repo source:#{repoSource}"
26
+ puts "release notes:#{releaseNotes}"
27
+ puts "lintRepoSources :#{lintRepoSources}"
28
+
29
+
23
30
  packageCommand = "ruby package.rb #{podspecFile} #{tagVersion} #{needPackageLib} #{repoSource} #{releaseNotes} #{lintRepoSources}"
24
31
  system packageCommand
25
32
 
data/lib/package.rb CHANGED
@@ -8,27 +8,28 @@ puts "当前执行路径为:" + CURRENT_PATH
8
8
 
9
9
  #传参 0:podspec文件名(exp:xxx.podspec) 1:tag 版本 2:是否打包静态库(0:不打,1:打静态库) 3:repo source(exp:https://github.com/CocoaPods/Specs.git) 4:release note, 5: lint repo sources
10
10
  PODSPEC_FILE = ARGV[0]
11
- puts "podspec 文件名为:" + PODSPEC_FILE
11
+ puts "podspec 文件名为:#{PODSPEC_FILE}"
12
12
  #pod 组件名(去掉 .podspec 后缀)
13
13
  POD_NAME = PODSPEC_FILE.split(".")[0]
14
- puts "pod 库为:" + POD_NAME
14
+ puts "pod 库为:#{POD_NAME}"
15
15
 
16
16
  TAG_VERSION = ARGV[1]
17
- puts "tag 版本号:" + TAG_VERSION
17
+ puts "tag 版本号:#{TAG_VERSION}"
18
18
 
19
19
  IS_NEED_PACKAGE_LIB = ARGV[2]
20
20
 
21
21
  REPO_SOURCE = ARGV[3]
22
- puts "repo source: " + REPO_SOURCE
22
+ puts "repo source: #{REPO_SOURCE}"
23
23
 
24
24
  RELEASE_NOTES = ARGV[4]
25
- puts "release notes: " + RELEASE_NOTES
25
+ puts "release notes: #{RELEASE_NOTES}"
26
26
 
27
27
  if ARGV.size >= 6
28
28
  LINT_REPO_SOURCES = ARGV[5]
29
29
  else
30
30
  LINT_REPO_SOURCES = "git@gitlab.leoao-inc.com:Lefit_iOS_Organization/PrivatePods.git,git@gitlab.leoao-inc.com:Lefit_iOS_ThirdSDK/ThirdSDKSpec.git,git@gitlab.leoao-inc.com:Lefit_LFE_Architecture_Organization/Lefit_Platform_iOS/PlatformSDKSpec.git"
31
31
  end
32
+ puts "lint repo sources: #{LINT_REPO_SOURCES}"
32
33
 
33
34
 
34
35
  def git_make_tag
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lkpackage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - yangjie