File tree Expand file tree Collapse file tree 4 files changed +9
-7
lines changed Expand file tree Collapse file tree 4 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 88// Configuration settings file format documentation can be found at:
99// https://help.apple.com/xcode/#/dev745c5c974
1010
11- DEBUG_VERSION = 3.7
12- DEBUG_BUILD_NUMBER = 202509101
11+ DEBUG_VERSION = 4.0
12+ DEBUG_BUILD_NUMBER = 202509102
Original file line number Diff line number Diff line change 88// Configuration settings file format documentation can be found at:
99// https://help.apple.com/xcode/#/dev745c5c974
1010
11- VERSION = 3.7
12- BUILD_NUMBER = 42
11+ VERSION = 4.0
12+ BUILD_NUMBER = 212
Original file line number Diff line number Diff line change 11Package: wiki.qaq.trollfools
22Name: TrollFools
3- Version: 3.7-202509101
3+ Version: 4.0-212
44Section: Applications
55Depends: firmware (>= 14.0)
66Architecture: iphoneos-arm
Original file line number Diff line number Diff line change @@ -63,9 +63,11 @@ if [ ! -f $XCCONFIG_NAME ]; then
6363 exit 1
6464fi
6565
66- previous_build_number=$( awk -F " =" ' /BUILD_NUMBER/ {print $2}' $XCCONFIG_NAME | tr -d ' ' )
66+ # Get the number of commits in the current branch.
67+ new_build_number=$( git rev-list --count HEAD)
6768
68- new_build_number=$(( previous_build_number + 1 ))
69+ # previous_build_number=$(awk -F "=" '/BUILD_NUMBER/ {print $2}' $XCCONFIG_NAME | tr -d ' ')
70+ # new_build_number=$((previous_build_number + 1))
6971
7072sed -i -e " /VERSION =/ s/= .*/= $VERSION /" $XCCONFIG_NAME
7173sed -i -e " /BUILD_NUMBER =/ s/= .*/= $new_build_number /" $XCCONFIG_NAME
You can’t perform that action at this time.
0 commit comments