orientepodspecpush 0.4.2 → 0.4.3
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 +4 -4
- data/lib/orientepodspecpush.rb +5 -5
- data/lib/orientepodspecpush/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 60c05e75a1440a16ea385b999aaef9b6329959a73910bf01ffeb60b00969d32e
|
|
4
|
+
data.tar.gz: 32c61f7de322803493fce03d757af8fcb487bf4d70a7241d356b8fa802c2b3c8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5cd4511eacd9815784d79e45c0cc23fa7e0350833960d86d842bea1c44db25ed80598b47170ba69b7ab2d6b157c926ba2eb1c71f79da09f2695417d8104330f9
|
|
7
|
+
data.tar.gz: a76407f15e3c756fbbae8892b5af40ffb485760f6b1bbdbad6018026c12112c702a4013bc238625fd95b16d99844c6807064084afa31aa1ff9a8461cd2fed5ef
|
data/lib/orientepodspecpush.rb
CHANGED
|
@@ -69,7 +69,7 @@ module Orientepodspecpush
|
|
|
69
69
|
cmd << ['bundle exec'] if shouldUseBundleExec
|
|
70
70
|
podPackage = "pod package #{specfile}"
|
|
71
71
|
cmd << [podPackage]
|
|
72
|
-
packageCmd = "--force --spec-sources='
|
|
72
|
+
packageCmd = "--force --spec-sources='git@git.oriente.com:iOS/ios-orientespecs.git, https://github.com/CocoaPods/Specs.git'"
|
|
73
73
|
if opts[:package] == nil
|
|
74
74
|
cmd << packageCmd
|
|
75
75
|
else
|
|
@@ -119,7 +119,7 @@ module Orientepodspecpush
|
|
|
119
119
|
# Build lintCmd
|
|
120
120
|
lintCmd << specfile
|
|
121
121
|
|
|
122
|
-
lintCommand = "--allow-warnings --sources='
|
|
122
|
+
lintCommand = "--allow-warnings --sources='git@git.oriente.com:iOS/ios-orientespecs.git,https://github.com/CocoaPods/Specs.git'"
|
|
123
123
|
if opts[:lint] == nil
|
|
124
124
|
lintCmd << [lintCommand]
|
|
125
125
|
else
|
|
@@ -146,7 +146,7 @@ module Orientepodspecpush
|
|
|
146
146
|
|
|
147
147
|
# cmd << [podRepoPush]
|
|
148
148
|
cmd << podRepoPush
|
|
149
|
-
pushCommand = "--allow-warnings --sources='
|
|
149
|
+
pushCommand = "--allow-warnings --commit-message='feat: update spec' --sources='git@git.oriente.com:iOS/ios-orientespecs.git,https://github.com/CocoaPods/Specs.git'"
|
|
150
150
|
if opts[:push] == nil
|
|
151
151
|
cmd << pushCommand
|
|
152
152
|
else
|
|
@@ -172,9 +172,9 @@ module Orientepodspecpush
|
|
|
172
172
|
# @podVersionMessage = opts[:tagCommitMsg]
|
|
173
173
|
flag = true
|
|
174
174
|
if @podVersionMessage == nil
|
|
175
|
-
flag = system "git tag -a #{@podVersion} -m 'add new tag'"
|
|
175
|
+
flag = system "git tag -a #{@podVersion} -m 'feat: add new tag'"
|
|
176
176
|
else
|
|
177
|
-
flag = system "git tag -a #{@podVersion} -m '#{@podVersionMessage}'"
|
|
177
|
+
flag = system "git tag -a #{@podVersion} -m 'feat: #{@podVersionMessage}'"
|
|
178
178
|
end
|
|
179
179
|
if flag == false
|
|
180
180
|
puts "tag 已经存在".red
|