diff --git a/launchers/macosx/Carthage b/launchers/macosx/Carthage new file mode 100644 index 000000000..7ebbd3a0f --- /dev/null +++ b/launchers/macosx/Carthage @@ -0,0 +1,3 @@ +github 'sparkle-project/Sparkle' == 1.21.0 + + diff --git a/launchers/macosx/bumpInfoPlist.sh b/launchers/macosx/bumpInfoPlist.sh new file mode 100644 index 000000000..28728b4a3 --- /dev/null +++ b/launchers/macosx/bumpInfoPlist.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env ruby +git = `sh /etc/profile; which git`.chomp +app_build = `#{git} rev-list HEAD --count`.chomp.to_i +`/usr/libexec/PlistBuddy -c "Set :CFBundleVersion #{app_build}" "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}"` +puts "Updated #{ENV['TARGET_BUILD_DIR']}/#{ENV['INFOPLIST_PATH']}" +