Add version bump script
This commit is contained in:
parent
c31d2db6ba
commit
393bf3a134
|
@ -1,6 +1,6 @@
|
|||
Pod::Spec.new do |s|
|
||||
s.name = "Gifu"
|
||||
s.version = "1.0.0"
|
||||
s.version = "1.0.1"
|
||||
s.summary = "Highly performant animated GIF support for iOS "
|
||||
s.homepage = "https://github.com/kaishin/gifu"
|
||||
s.social_media_url = "http://twitter.com/kaishin"
|
||||
|
|
|
@ -200,6 +200,7 @@
|
|||
00B8C73A1A364DA400C188E7 /* Frameworks */,
|
||||
00B8C73B1A364DA400C188E7 /* Headers */,
|
||||
00B8C73C1A364DA400C188E7 /* Resources */,
|
||||
003DD00A1C4FB0E600C7E06B /* Set Version Number */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
|
@ -265,6 +266,23 @@
|
|||
};
|
||||
/* End PBXResourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXShellScriptBuildPhase section */
|
||||
003DD00A1C4FB0E600C7E06B /* Set Version Number */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
inputPaths = (
|
||||
);
|
||||
name = "Set Version Number";
|
||||
outputPaths = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "GIT_RELEASE_VERSION=$(git describe --tags --always --abbrev=0)\nCOMMITS=$(git rev-list HEAD | wc -l)\nCOMMITS=$(($COMMITS))\n\n/usr/libexec/PlistBuddy -c \"Set :CFBundleVersion ${COMMITS}\" \"${INFOPLIST_FILE}\"\n/usr/libexec/PlistBuddy -c \"Set :CFBundleShortVersionString ${GIT_RELEASE_VERSION#*v}\" \"${INFOPLIST_FILE}\"";
|
||||
};
|
||||
/* End PBXShellScriptBuildPhase section */
|
||||
|
||||
/* Begin PBXSourcesBuildPhase section */
|
||||
009BD1321BBC7F6500FC982B /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
|
|
|
@ -15,11 +15,11 @@
|
|||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0.0</string>
|
||||
<string>1.0.1</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>$(CURRENT_PROJECT_VERSION)</string>
|
||||
<string>79</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
|
|
Loading…
Reference in New Issue