Skip to content

Commit 2a42210

Browse files
update: removed build name & number from workflow
1 parent a6b7d03 commit 2a42210

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,7 @@ jobs:
119119
# Build Android
120120
- name: Build Android APK
121121
run: |
122-
flutter build apk --release --split-per-abi \
123-
--build-name=${{ env.VERSION }} \
124-
--build-number=${{ env.VERSION_CODE }}
122+
flutter build apk --release --split-per-abi
125123
126124
cd build/app/outputs/apk/release
127125
mv app-armeabi-v7a-release.apk SysAdmin-v${{ env.VERSION }}-armeabi-v7a.apk
@@ -131,9 +129,7 @@ jobs:
131129
# Build iOS
132130
- name: Build iOS App
133131
run: |
134-
flutter build ios --release --no-codesign \
135-
--build-name=${{ env.VERSION }} \
136-
--build-number=${{ env.VERSION_CODE }}
132+
flutter build ios --release --no-codesign
137133
cd build/ios/iphoneos
138134
mkdir -p Payload
139135
cp -r Runner.app Payload/
@@ -169,4 +165,4 @@ jobs:
169165
${{ github.event.head_commit.message }}
170166
#### Full Changelog: [${{ env.PREV_TAG }}...${{ env.TAG }}](https://github.com/${{ github.repository }}/compare/${{ env.PREV_TAG }}...${{ env.TAG }})
171167
draft: false
172-
prerelease: false
168+
prerelease: false

0 commit comments

Comments
 (0)