File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ jobs:
115115 - name : Upload APK Artifact
116116 uses : actions/upload-artifact@v4
117117 with :
118- name : release-apk-${{ env.BUILD_TIMESTAMP }}
118+ name : release-apk-${{ env.RELEASE_NAME }}-${{ env. BUILD_TIMESTAMP }}
119119 path : build/app/outputs/flutter-apk/app-debug.apk
120120
121121# - name: Create Pre-release and Upload Assets
@@ -155,7 +155,14 @@ jobs:
155155 - name : update build numbers
156156 run : |
157157 dart ./scripts/update_version.dart --ci
158- # Updating pod files
158+ - name : Get App Version
159+ run : |
160+ VERSION=$(grep '^version:' pubspec.yaml | cut -d ' ' -f 2)
161+ BASE_VERSION=$(echo $VERSION | cut -d '+' -f 1)
162+ BUILD_NUMBER=$(echo $VERSION | cut -d '+' -f 2)
163+ echo "RELEASE_NAME=$BASE_VERSION ($BUILD_NUMBER)" >> $GITHUB_ENV
164+
165+ # Updating pod files
159166 - name : Pod file update
160167 run : |
161168 cd ios
@@ -228,5 +235,5 @@ jobs:
228235 if : env.SHOULD_SIGN_IOS == 'true'
229236 uses : actions/upload-artifact@v4
230237 with :
231- name : release-ipa-${{ env.BUILD_TIMESTAMP }}
238+ name : release-ipa--${{ env.RELEASE_NAME }}- ${{ env.BUILD_TIMESTAMP }}
232239 path : build/ios/ipa/*.ipa
You can’t perform that action at this time.
0 commit comments