Skip to content

Commit c1d5f75

Browse files
committed
Preparing for version 3
1 parent d9807ff commit c1d5f75

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

SearchOps.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2308,7 +2308,7 @@
23082308
);
23092309
runOnlyForDeploymentPostprocessing = 0;
23102310
shellPath = /bin/sh;
2311-
shellScript = "INFO_PLIST=\"${TARGET_BUILD_DIR}\"/\"${INFOPLIST_PATH}\"\n\n# Get the GIT hashes\nsearchOpsApp=$(git rev-parse --short HEAD)\nsearchOps=$(git -C ../SearchOps rev-parse --short HEAD)\n\necho $searchOpsApp\necho $searchOps\n\n### App logic\n\n# Query and save the value; suppress any error message, if key not found.\nvalueApp=$(/usr/libexec/PlistBuddy -c 'print :GitCommitHashApp' \"${INFO_PLIST}\" 2>/dev/null)\n\n# Check if value is empty\nif [ -z \"$valueApp\" ] \nthen\n /usr/libexec/PlistBuddy -c \"Add :GitCommitHashApp string\" \"${INFO_PLIST}\"\nfi\n\n/usr/libexec/PlistBuddy -c \"Set :GitCommitHashApp `echo $searchOpsApp`\" \"${INFO_PLIST}\"\n\n### Business Logic\n\n# Query and save the value; suppress any error message, if key not found.\nvalue=$(/usr/libexec/PlistBuddy -c 'print :GitCommitHash' \"${INFO_PLIST}\" 2>/dev/null)\n\n# Check if value is empty\nif [ -z \"$value\" ] \nthen\n /usr/libexec/PlistBuddy -c \"Add :GitCommitHash string\" \"${INFO_PLIST}\"\nfi\n\n/usr/libexec/PlistBuddy -c \"Set :GitCommitHash `echo $searchOps`\" \"${INFO_PLIST}\"\n";
2311+
shellScript = "INFO_PLIST=\"${TARGET_BUILD_DIR}\"/\"${INFOPLIST_PATH}\"\n\n# Get the GIT hashes\nsearchOps=$(git rev-parse --short HEAD)\n\necho $searchOps\n\n### App logic\n\n# Query and save the value; suppress any error message, if key not found.\nvalueApp=$(/usr/libexec/PlistBuddy -c 'print :GitCommitHashApp' \"${INFO_PLIST}\" 2>/dev/null)\n\n# Check if value is empty\nif [ -z \"$valueApp\" ] \nthen\n /usr/libexec/PlistBuddy -c \"Add :GitCommitHashApp string\" \"${INFO_PLIST}\"\nfi\n\n/usr/libexec/PlistBuddy -c \"Set :GitCommitHashApp `echo $searchOps`\" \"${INFO_PLIST}\"\n";
23122312
};
23132313
/* End PBXShellScriptBuildPhase section */
23142314

@@ -2840,7 +2840,7 @@
28402840
LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
28412841
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
28422842
MACOSX_DEPLOYMENT_TARGET = 13.5;
2843-
MARKETING_VERSION = 2.0.2;
2843+
MARKETING_VERSION = 3.0;
28442844
PRODUCT_BUNDLE_IDENTIFIER = com.mccaffers.searchops.prod;
28452845
PRODUCT_NAME = "$(TARGET_NAME)";
28462846
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -2890,7 +2890,7 @@
28902890
LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
28912891
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
28922892
MACOSX_DEPLOYMENT_TARGET = 13.5;
2893-
MARKETING_VERSION = 2.0.2;
2893+
MARKETING_VERSION = 3.0;
28942894
PRODUCT_BUNDLE_IDENTIFIER = com.mccaffers.searchops.prod;
28952895
PRODUCT_NAME = "$(TARGET_NAME)";
28962896
PROVISIONING_PROFILE_SPECIFIER = "";

Source/Platforms/macOS/Settings/SettingsView.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,6 @@ struct SettingsView: View {
9090
Text("Version: " + (appVersion ?? ""))
9191
.frame(maxWidth: .infinity, alignment:.leading)
9292

93-
Text("Build: " + (Bundle.main.commitHash ?? ""))
94-
.frame(maxWidth: .infinity, alignment:.leading)
95-
9693
Text("App: " + (Bundle.main.appHash ?? ""))
9794
.frame(maxWidth: .infinity, alignment:.leading)
9895

0 commit comments

Comments
 (0)