diff options
Diffstat (limited to 'Scripts')
-rwxr-xr-x | Scripts/build-version.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Scripts/build-version.pl b/Scripts/build-version.pl index 53c4e91b..9034fc24 100755 --- a/Scripts/build-version.pl +++ b/Scripts/build-version.pl @@ -42,7 +42,8 @@ use Carp; die "$0: Must be run from within Xcode. Exiting..." unless $ENV{"BUILT_PRODUCTS_DIR"}; -my $revision = `svnversion -n ./`; +my $svn2git_migration_compensation = 480; +my $revision = `git log --oneline | wc -l` + $svn2git_migration_compensation; my $plist_path = "$ENV{BUILT_PRODUCTS_DIR}/$ENV{INFOPLIST_PATH}"; my $version = $revision; |