Skip to content

Commit d75f676

Browse files
committed
Fix devmate update build version.
1 parent 68e0593 commit d75f676

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iina+.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@
532532
);
533533
runOnlyForDeploymentPostprocessing = 1;
534534
shellPath = /bin/sh;
535-
shellScript = "#!/bin/bash\nBUILD_NUMBER=`git rev-parse --short HEAD`\n/usr/libexec/PlistBuddy -c \"Set :CFBundleVersion $BUILD_NUMBER\" \"${TARGET_BUILD_DIR}\"/\"${INFOPLIST_PATH}\"\n";
535+
shellScript = "#!/bin/bash\nBUILD_NUMBER=`date +%y%m%d%H`\n/usr/libexec/PlistBuddy -c \"Set :CFBundleVersion $BUILD_NUMBER\" \"${TARGET_BUILD_DIR}\"/\"${INFOPLIST_PATH}\"\n";
536536
};
537537
/* End PBXShellScriptBuildPhase section */
538538

0 commit comments

Comments
 (0)