Skip to content

Commit

Permalink
Build [v99] Update update_version.sh (#10243)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnarcese committed Mar 18, 2022
1 parent 98679b2 commit 020d166
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions update_version.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
if [[ "${#}" -ne 1 ]]
# 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
ls Client/Info.plist Extensions/*/*Info.plist | xargs perl -pi -e "s/0\.0\.1/$1/g"
ls Client/Info.plist Extensions/*/*Info.plist | xargs perl -pi -e "s/0\.0\.1/$2/g"
perl -pi -e "s/$1/$2/g" bitrise.yml

0 comments on commit 020d166

Please sign in to comment.