Skip to content

Commit

Permalink
hotfix(VersionUtility): do not include build number (#135)
Browse files Browse the repository at this point in the history
This breaks OONI Backend.

See ooni/backend#111 and ooni/sysadmin#164.
  • Loading branch information
bassosimone authored Sep 26, 2017
1 parent db1e944 commit eea36ae
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ooniprobe/Utility/VersionUtility.mm
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@
@implementation VersionUtility

+ (NSString*)get_software_version{
// FIXME: this breaks OONI backend so we don't send the build number
/*
return [NSString stringWithFormat:@"%@%@+%@", [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"], release_name, [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"]];
*/
return [NSString stringWithFormat:@"%@%@",
[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"],
release_name];

}
@end

0 comments on commit eea36ae

Please sign in to comment.