File tree Expand file tree Collapse file tree
CLCollectionViewFlowLayout.xcodeproj/project.xcworkspace/xcuserdata/chenliang.xcuserdatad Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Pod::Spec.new do |s|
1616 #
1717
1818 s . name = "CLCollectionViewFlowLayout"
19- s . version = "1.0.0 "
19+ s . version = "1.0.2 "
2020 s . summary = "CLCollectionViewFlowLayout."
2121
2222 # This description is used to generate tags and improve search results.
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+
4+
5+ #! /bin/bash
6+
7+ tagName=$( cat CLCollectionViewFlowLayout.podspec | awk ' {if(NR==19){print $3}}' )
8+ echo " 原标签为$tagName "
9+
10+ read -t 30 -p " 请输入标签名(新标签需要大于原标签):" tag
11+ echo " 新标签名为$tag "
12+
13+ sed -i ' ' " s/$tagName /\" $tag \" /g" CLCollectionViewFlowLayout.podspec
14+ sleep 2s
15+
16+ read -p " git准备提交本地变更,请确认提交本地变更,按任意键继续"
17+
18+ git add --all
19+ git commit -m " commit new tag"
20+ git push -u origin master
21+ echo " 提交git远程仓库完成!"
22+
23+
24+ sleep 2s
25+ git tag $tag
26+ sleep 1s
27+ git push origin $tag
28+
29+ echo " 提交远程标签完成!"
30+
31+ sleep 2s
32+ pod trunk push --verbose --allow-warnings
33+ echo " 更新索引完成!"
34+
You can’t perform that action at this time.
0 commit comments