中文文档移步:中文文档
Python automated scripts, including automatic commit, version tag, lint check podspec legality, and upload to the specified specs address.
- Specify the version corresponding to
s.version
inxxx.podspec
, if it isBinary
binary version, you need to add.Binary
after the version (Example: 1.5.0. Binary) - Added update instructions for
upload.ini
version - Modify
upload.py
file information
spec_path ='./iMetisSDK.podspec'
spec_name ='iMetisSDK.podspec'
specs_name ='AIjiaSpecs'
source_specs_url ='ssh://[email protected]:2200/italkbbspecs/italkbbspecs.git'
config_ini_path ='./upload.ini'
gitlab_remote ='origin'
gitlab_ref ='master'
gitlab_proj_id = 19
gitlab_user_access_token ='KLRVtbPLihP6eug-i7-d' #'qWXXuozFKgcDjCUWz26x'
gitlab_api_url ='https://gitlab.263nt.com/api/v4/projects/%d/releases'% gitlab_proj_id
- Just authorize and execute the script
chmod 777 upload.py
python3 upload.py