diff --git a/SparkleShare/Mac/Info.plist b/SparkleShare/Mac/Info.plist index 7a893897..00defa64 100755 --- a/SparkleShare/Mac/Info.plist +++ b/SparkleShare/Mac/Info.plist @@ -9,7 +9,9 @@ CFBundleName SparkleShare CFBundleVersion - 1 + 1.1.0 + CFBundleShortVersionString + 1.1.0 LSApplicationCategoryType public.app-category.productivity LSMinimumSystemVersion diff --git a/build/bump-version.sh b/build/bump-version.sh index dca4878c..0f6769e9 100755 --- a/build/bump-version.sh +++ b/build/bump-version.sh @@ -6,6 +6,9 @@ else sed -i.bak "s/ Version='[^']*'/ Version='$1'/" ../SparkleShare/Windows/SparkleShare.wxs sed -i.bak "s/assembly:AssemblyVersion *(\"[^\"]*\")/assembly:AssemblyVersion (\"$1\")/" ../SparkleLib/Defines.cs sed -i.bak "s/m4_define(.sparkleshare_version[^)]*)/m4_define([sparkleshare_version], [$1])/" ../configure.ac + cat ../SparkleShare/Mac/Info.plist | eval "sed -e '/CFBundleShortVersionString<\/key>/{N;s#.*<\/string>#$1<\/string>#;}'" > ../SparkleShare/Mac/Info.plist.tmp + cat ../SparkleShare/Mac/Info.plist.tmp | eval "sed -e '/CFBundleVersion<\/key>/{N;s#.*<\/string>#$1<\/string>#;}'" > ../SparkleShare/Mac/Info.plist + rm ../SparkleShare/Mac/Info.plist.tmp rm ../SparkleShare/Windows/SparkleShare.wxs.bak rm ../SparkleLib/Defines.cs.bak rm ../configure.ac.bak