chore: update release version

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-04 11:59:40 +08:00
parent 9cf74c0db6
commit 7ac4a32468
3 changed files with 15 additions and 1 deletions

View File

@@ -16,6 +16,7 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.branch }}
fetch-depth: 0
- name: Setup flutter
uses: subosito/flutter-action@v2
@@ -26,6 +27,11 @@ jobs:
- name: Set up xcode
uses: BoundfoxStudios/action-xcode-select@v1
- name: 更新版本号
run: |
version_name=$(yq e '.version' pubspec.yaml | cut -d "+" -f 1)
sed -i '' "s/version: .*/version: $version_name+$(git rev-list --count HEAD)/" pubspec.yaml
- name: Build iOS
run: |
chmod +x lib/scripts/build.sh