Revision control

Copy as Markdown

# the first argument is the current version, and the second is the new version
if [[ "${#}" -ne 2 ]]
then
echo 'arg missing for updated version number'
exit 1
fi
# If needed, modify the starting version number locally
# This script is mainly a reference as to what needs to be updated
perl -pi -e "s/$1/$2/g" Client/Info.plist
perl -pi -e "s/$1/$2/g" CredentialProvider/Info.plist
perl -pi -e "s/$1/$2/g" Extensions/*/*Info.plist
perl -pi -e "s/$1/$2/g" WidgetKit/Info.plist
perl -pi -e "s/$1/$2/g" bitrise.yml