This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
conf=${CONFIGURATION} | |
arch=${ARCHS:0:4} | |
# Only increase the build number on Device and AdHoc/AppStore build | |
if [ $conf == "Release" ] | |
then | |
echo "Bumping bundle version number..." | |
buildPlist=${INFOPLIST_FILE} | |
bundleVersion=`/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "$buildPlist" | /usr/bin/perl -pe 's/(\d+\.)(\d+)(\.\d+)/$1.($2+1).$3/eg'` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# this will call ffmeg to convert a .flv to a .mp4 | |
# | |
# NOTE: ffmeg is expected to be install and in your path | |
# | |
# usage: convertmp4 infile.flv | |
# | |
# output will be a .mp4 file in the same directory | |
# |