File tree Expand file tree Collapse file tree 4 files changed +27
-3
lines changed Expand file tree Collapse file tree 4 files changed +27
-3
lines changed Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |s |
2
2
3
3
s . name = "ReactiveObjC"
4
- s . version = "3.0 .0"
4
+ s . version = "3.1 .0"
5
5
s . summary = "The 2.x ReactiveCocoa Objective-C API: Streams of values over time"
6
6
7
7
s . description = <<-DESC . strip_heredoc
Original file line number Diff line number Diff line change 15
15
<key >CFBundlePackageType </key >
16
16
<string >FMWK </string >
17
17
<key >CFBundleShortVersionString </key >
18
- <string >3.0 .0 </string >
18
+ <string >3.1 .0 </string >
19
19
<key >CFBundleSignature </key >
20
20
<string >???? </string >
21
21
<key >CFBundleVersion </key >
Original file line number Diff line number Diff line change 15
15
<key >CFBundlePackageType </key >
16
16
<string >BNDL </string >
17
17
<key >CFBundleShortVersionString </key >
18
- <string >3.0 .0 </string >
18
+ <string >3.1 .0 </string >
19
19
<key >CFBundleSignature </key >
20
20
<string >???? </string >
21
21
<key >CFBundleVersion </key >
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ if [[ -z " $1 " ]]; then
4
+ echo " Please specify a version tag."
5
+ exit
6
+ fi
7
+
8
+ PRERELEASE_STRIPPED=$( echo " $1 " | perl -0777 -ne ' /([0-9]+)\.([0-9]+)\.([0-9]+)(-.*)?/ and print "$1.$2.$3"' )
9
+
10
+ if [[ -z " $PRERELEASE_STRIPPED " ]]; then
11
+ echo " The version tag is not semver compliant."
12
+ exit
13
+ fi
14
+
15
+ CURRENT_TAG=$( perl -0777 -ne ' /s.version([\s]+)=([\s]+)"(.+)"/ and print $3' * .podspec)
16
+ echo " Current tag: $CURRENT_TAG "
17
+
18
+ perl -0777 -i -pe ' s/s.version([\s]+)=([\s]+)"' ${CURRENT_TAG} ' "/s.version$1=$2"' ${1} ' "/' * .podspec
19
+ perl -0777 -i -pe ' s/g>' ${CURRENT_TAG} ' <\/str/g>' ${PRERELEASE_STRIPPED} ' <\/str/' * /Info.plist
20
+ perl -0777 -i -pe ' s/g>' ${CURRENT_TAG} ' <\/str/g>' ${PRERELEASE_STRIPPED} ' <\/str/' * /* /Info.plist
21
+ sed -i ' ' ' 3i\
22
+ \
23
+ # ' ${1} CHANGELOG.md
24
+
You can’t perform that action at this time.
0 commit comments