fix:调整ci
This commit is contained in:
parent
a053e23843
commit
faca7eae3e
@ -72,6 +72,7 @@ variables:
|
|||||||
- which ruby # 输出当前使用的ruby路径,便于调试
|
- which ruby # 输出当前使用的ruby路径,便于调试
|
||||||
- ruby -v # 输出当前ruby版本,便于调试
|
- ruby -v # 输出当前ruby版本,便于调试
|
||||||
- gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/ # 如在国外可移除此行
|
- gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/ # 如在国外可移除此行
|
||||||
|
- bundle config mirror.https://rubygems.org https://gems.ruby-china.com
|
||||||
- bundle -v || gem install bundler --source https://gems.ruby-china.com/
|
- bundle -v || gem install bundler --source https://gems.ruby-china.com/
|
||||||
- ls -li
|
- ls -li
|
||||||
- export NEXT_VERSION="$(cat app_new.version)"
|
- export NEXT_VERSION="$(cat app_new.version)"
|
||||||
@ -103,6 +104,7 @@ variables:
|
|||||||
- which ruby # 输出当前使用的ruby路径,便于调试
|
- which ruby # 输出当前使用的ruby路径,便于调试
|
||||||
- ruby -v # 输出当前ruby版本,便于调试
|
- ruby -v # 输出当前ruby版本,便于调试
|
||||||
- gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/ # 如在国外可移除此行
|
- gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/ # 如在国外可移除此行
|
||||||
|
- bundle config mirror.https://rubygems.org https://gems.ruby-china.com
|
||||||
- bundle -v || gem install bundler --source https://gems.ruby-china.com/
|
- bundle -v || gem install bundler --source https://gems.ruby-china.com/
|
||||||
- ls -li
|
- ls -li
|
||||||
- export NEXT_VERSION="$(cat app_new.version)"
|
- export NEXT_VERSION="$(cat app_new.version)"
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
source "https://rubygems.org"
|
source "https://gems.ruby-china.com"
|
||||||
|
|
||||||
gem "fastlane"
|
gem "fastlane"
|
||||||
gem 'nkf', '0.2.0'
|
gem 'nkf', '0.2.0'
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
source "https://rubygems.org"
|
source "https://gems.ruby-china.com"
|
||||||
|
|
||||||
gem "fastlane"
|
gem "fastlane"
|
||||||
gem 'cocoapods', '1.14.3'
|
gem 'cocoapods', '1.14.3'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user