Skip to content

Commit

Permalink
Inject correct versionCode for ABIs
Browse files Browse the repository at this point in the history
  • Loading branch information
steel97 committed Mar 19, 2024
1 parent 73c055b commit 2d6f756
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,14 @@ jobs:
if: ${{ steps.key-check.outputs.available == 'true' }}
run: |
cd "${{ env.build_dir }}"
flutter_vercode=$(grep -Po 'version:\s.+\+(\d+)|.|version:\s(.+)\+' pubspec.yaml | grep -Po '(?<=\+)\d+' | awk '{print $1}')
submodules/flutter/bin/flutter build apk --release --no-tree-shake-icons
submodules/flutter/bin/flutter build apk --release --no-tree-shake-icons --split-per-abi
abiver=$(($flutter_vercode * 10 + 1))
submodules/flutter/bin/flutter build apk --release --no-tree-shake-icons --split-per-abi --target-platform="android-arm" --build-number=$abiver
abiver=$(($flutter_vercode * 10 + 2))
submodules/flutter/bin/flutter build apk --release --no-tree-shake-icons --split-per-abi --target-platform="android-arm64" --build-number=$abiver
abiver=$(($flutter_vercode * 10 + 3))
submodules/flutter/bin/flutter build apk --release --no-tree-shake-icons --split-per-abi --target-platform="android-x64" --build-number=$abiver
- name: Build executable (debug)
if: ${{ steps.key-check.outputs.available != 'true' }}
run: |
Expand Down
2 changes: 2 additions & 0 deletions metadata/en-US/changelogs/23.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- added ability to change conversion API url
- added ability to set conversion rate manually
2 changes: 2 additions & 0 deletions metadata/ru-RU/changelogs/23.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- добавлена возможность установить адрес API конвертации
- добавлена возможность установить курс конвертации
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: veil_wallet
description: Veil light wallet made with flutter
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.16+22
version: 1.0.17+23

environment:
sdk: '>=3.3.0 <4.0.0'
Expand Down

0 comments on commit 2d6f756

Please sign in to comment.