Skip to content

Commit 62042b5

Browse files
committed
release: version 4.0.4
1 parent 6ad0029 commit 62042b5

File tree

8 files changed

+703
-341
lines changed

8 files changed

+703
-341
lines changed

.github/change_version.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ fi
99

1010

1111
cversion_string=$(grep -e "^version:" pubspec.yaml | cut -d: -f2-)
12-
cstr_version=`echo "${cversion_string}" | sed -n "s/[ ]*\\([0-9]\\+\\.[0-9]\\+\\.[0-9]\\+\\)+.*/\\1/p"`
12+
cstr_version=`echo "${cversion_string}" | sed -E -n 's/ *([0-9]+\.[0-9]+\.[0-9]+).*/\1/p'`
1313
[ "$cversion_string" == "" ] && { echo "getting old version error"; exit 1 ; }
14-
cbuild_number=`echo "${cversion_string}" | sed -n "s/.*+\\([0-9]\\+\\)/\\1/p"`
14+
cbuild_number=`echo "${cversion_string}" | sed -E -n 's/.*\+([0-9]+)$/\1/p'`
1515
echo "Current Version Name:${cstr_version} Build Number:${cbuild_number}"
1616
read -p "new Version? (provide the next x.y.z semver) : " TAG
1717
echo $TAG
@@ -20,10 +20,10 @@ IFS="." read -r -a VERSION_ARRAY <<< "$TAG"
2020
VERSION_STR="${VERSION_ARRAY[0]}.${VERSION_ARRAY[1]}.${VERSION_ARRAY[2]}"
2121
BUILD_NUMBER=$(( ${VERSION_ARRAY[0]} * 10000 + ${VERSION_ARRAY[1]} * 100 + ${VERSION_ARRAY[2]} ))
2222
echo "version: ${VERSION_STR}+${BUILD_NUMBER}"
23-
23+
echo "====$cbuild_number"
2424
SED "s/^version: .*/version: ${VERSION_STR}\+${BUILD_NUMBER}/g" pubspec.yaml
2525
SED "s/^msix_version: .*/msix_version: ${VERSION_ARRAY[0]}.${VERSION_ARRAY[1]}.${VERSION_ARRAY[2]}.0/g" windows/packaging/msix/make_config.yaml
26-
SED "s/CURRENT_PROJECT_VERSION = ${cbuild_number}/CURRENT_PROJECT_VERSION = ${BUILD_NUMBER}/g" ios/Runner.xcodeproj/project.pbxproj
26+
SED "s|CURRENT_PROJECT_VERSION = ${cbuild_number}|CURRENT_PROJECT_VERSION = ${BUILD_NUMBER}|g" ios/Runner.xcodeproj/project.pbxproj
2727
SED "s/MARKETING_VERSION = ${cstr_version}/MARKETING_VERSION = ${VERSION_STR}/g" ios/Runner.xcodeproj/project.pbxproj
2828

2929
git tag ${TAG} > /dev/null

.github/workflows/build.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ jobs:
5858
build:
5959
needs: test
6060
permissions: write-all
61+
continue-on-error: true
62+
6163
strategy:
6264
fail-fast: false
6365
matrix:
@@ -100,11 +102,11 @@ jobs:
100102
aarch: universal
101103
targets: dmg,pkg
102104

103-
# - platform: ios
104-
# os: macos-14
105-
# aarch: universal
106-
# filename: hiddify-ios
107-
# targets: ipa
105+
- platform: ios
106+
os: macos-15
107+
aarch: universal
108+
filename: hiddify-ios
109+
targets: ipa
108110
runs-on: ${{ matrix.os }}
109111
steps:
110112
- name: checkout

0 commit comments

Comments
 (0)