create separate script for setting the version of the bundle

This commit is contained in:
sgschantz 2024-04-23 10:10:13 +07:00
parent 985d49b856
commit 534741aff6
2 changed files with 7 additions and 1 deletions

View file

@ -1354,7 +1354,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = "/usr/bin/env bash";
shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n. \"$KEYMAN_ROOT/resources/build/xcode-utils.sh\"\n\nphaseSetBundleVersions true\n";
shellScript = "\"$KEYMAN_ROOT/resources/build/xcode-wrap.sh\" \"$KEYMAN_ROOT/resources/build/set-bundle-versions.sh\"\n";
showEnvVarsInLog = 0;
};
CEC0C66F2410B005003E1BCD /* Run Script - upload dsyms to Sentry */ = {

View file

@ -0,0 +1,6 @@
#!/bin/bash
# Calls script in xcode-utils to update the version
source "$KEYMAN_ROOT/resources/build/xcode-utils.sh"
phaseSetBundleVersions true