Skip to content

Commit b56d4ca

Browse files
committed
bump version
Signed-off-by: 82Flex <[email protected]>
1 parent a9f9373 commit b56d4ca

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

TrollFools/Version.Debug.xcconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
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

TrollFools/Version.xcconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
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

control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: wiki.qaq.trollfools
22
Name: TrollFools
3-
Version: 3.7-202509101
3+
Version: 4.0-212
44
Section: Applications
55
Depends: firmware (>= 14.0)
66
Architecture: iphoneos-arm

devkit/bump-version.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,11 @@ if [ ! -f $XCCONFIG_NAME ]; then
6363
exit 1
6464
fi
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

7072
sed -i -e "/VERSION =/ s/= .*/= $VERSION/" $XCCONFIG_NAME
7173
sed -i -e "/BUILD_NUMBER =/ s/= .*/= $new_build_number/" $XCCONFIG_NAME

0 commit comments

Comments
 (0)