Skip to content
Snippets Groups Projects
Commit 97d977e8 authored by Dariusz Rybicki's avatar Dariusz Rybicki
Browse files

Add script that bumps example app build number

parent d736925a
No related branches found
No related tags found
2 merge requests!120Prepare example app for deployment,!102Release 1.0.0
#!/bin/sh
script_dir=$(dirname $(realpath $0))
project_dir="$script_dir/Project"
repo_dir="$script_dir/../../"
if [ -n "$(git -C $repo_dir status --porcelain)" ]; then
echo "Repository has uncommitted changes!"
exit 1
fi
cd $project_dir
xcrun agvtool next-version
build_number=$(xcrun agvtool what-version -terse)
cd $repo_dir
git commit -a -m "Bump xx-messenger example app build number to $build_number"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment