Skip to content

Commit 5293cc4

Browse files
authored
chore(release): v0.9.4 release candidate: Merge pull request #3461 from GLEECBTC/dev
chore(release): v0.9.4 release candidate
2 parents e50aa37 + bcd2752 commit 5293cc4

365 files changed

Lines changed: 32437 additions & 5417 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.docker/android-sdk.dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ RUN set -o xtrace \
4141
ruby-full ruby-bundler libstdc++6 libpulse0 libglu1-mesa locales lcov libsqlite3-dev --no-install-recommends \
4242
# For Linux build
4343
xz-utils acl \
44-
clang cmake git \
44+
binutils clang cmake git lld llvm \
4545
ninja-build pkg-config \
4646
libgtk-3-dev liblzma-dev \
4747
libstdc++-12-dev libsecret-1-dev \
@@ -68,4 +68,4 @@ RUN set -o xtrace \
6868
"build-tools;$ANDROID_BUILD_TOOLS_VERSION" \
6969
&& yes | sdkmanager "ndk;$ANDROID_NDK_VERSION" \
7070
&& sudo chown -R $USER:$USER $ANDROID_HOME \
71-
&& sudo setfacl -R -m u:$USER:rwX -m d:u:$USER:rwX /usr/local
71+
&& sudo setfacl -R -m u:$USER:rwX -m d:u:$USER:rwX /usr/local

.docker/build.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ docker build $PLATFORM_FLAG -f .docker/komodo-wallet-android.dockerfile . -t kom
5454
mkdir -p ./build
5555

5656
COMMIT_HASH=$(git rev-parse --short HEAD | cut -c1-7)
57+
BUILD_DATE=$(date -u '+%Y-%m-%dT%H:%MZ')
5758

5859
# Only pass GITHUB_API_PUBLIC_READONLY_TOKEN as environment variable
5960
ENV_ARGS=""
@@ -63,10 +64,14 @@ fi
6364

6465
# Build command logic
6566
BUILD_COMMAND="flutter build $BUILD_TARGET --no-pub --$BUILD_MODE"
67+
if [ "$BUILD_TARGET" = "web" ]; then
68+
BUILD_COMMAND="$BUILD_COMMAND --wasm"
69+
fi
6670
# Prepare build command with feedback service credentials
6771
BUILD_CMD="$BUILD_COMMAND"
68-
# Add commit hash to build command
72+
# Add commit hash and build date to build command
6973
BUILD_CMD="$BUILD_CMD --dart-define=COMMIT_HASH=$COMMIT_HASH"
74+
BUILD_CMD="$BUILD_CMD --dart-define=BUILD_DATE=$BUILD_DATE"
7075

7176
# Check and add the shared Trello board and list IDs if they are available
7277
HAVE_TRELLO_IDS=false

.docker/komodo-wallet-android.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM komodo/android-sdk:35 AS final
22

3-
ENV FLUTTER_VERSION="3.35.3"
3+
ENV FLUTTER_VERSION="3.41.4"
44
ENV HOME="/home/komodo"
55
ENV USER="komodo"
66
ENV PATH=$PATH:$HOME/flutter/bin

.github/actions/flutter-deps/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ runs:
88
uses: subosito/flutter-action@v2
99
with:
1010
# NB! Keep up-to-date with the flutter version used for development
11-
flutter-version: "3.35.3"
11+
flutter-version: "3.41.4"
1212
channel: "stable"
1313

1414
- name: Prepare build directory

.github/actions/generate-assets/action.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ inputs:
88
BUILD_COMMAND:
99
description: "The flutter build command to run to generate assets for the deployment build"
1010
required: false
11-
default: "flutter build web --no-pub --release"
11+
default: "flutter build web --no-pub --release --wasm"
1212

1313
# Optional Trello feedback provider configuration
1414
TRELLO_API_KEY:
@@ -72,6 +72,8 @@ runs:
7272
fi
7373
# Export for subsequent steps
7474
echo "COMMIT_HASH=$COMMIT_HASH" >> $GITHUB_ENV
75+
BUILD_DATE=$(date -u '+%Y-%m-%dT%H:%MZ')
76+
echo "BUILD_DATE=$BUILD_DATE" >> $GITHUB_ENV
7577
- name: Fetch packages and generate assets
7678
id: fetch_and_build
7779
shell: bash
@@ -101,8 +103,9 @@ runs:
101103
# Prepare build command with feedback service credentials
102104
BUILD_CMD="${{ inputs.BUILD_COMMAND }}"
103105
104-
# Add commit hash to build command
106+
# Add commit hash and build date to build command
105107
BUILD_CMD="$BUILD_CMD --dart-define=COMMIT_HASH=$COMMIT_HASH"
108+
BUILD_CMD="$BUILD_CMD --dart-define=BUILD_DATE=$BUILD_DATE"
106109
107110
# Check and add the shared Trello board and list IDs if they are available
108111
HAVE_TRELLO_IDS=false
@@ -155,13 +158,14 @@ runs:
155158
BUILD_CMD="$BUILD_CMD --dart-define=CI=true --dart-define=ANALYTICS_DISABLED=true"
156159
fi
157160
158-
# Run flutter build once to download coin icons and config files.
159-
# This step is expected to "fail", since flutter build has to run again
160-
# after the assets are downloaded to register them in AssetManifest.bin
161+
# Run flutter build once to download coin icons and config files.
162+
# The second build must re-register them in AssetManifest.bin, so we
163+
# wipe the build directory afterwards -- but preserve native_assets
164+
# which desktop builds generate and need to reuse.
161165
echo ""
162166
flutter pub get --enforce-lockfile > /dev/null 2>&1 || true
163167
$BUILD_CMD > /dev/null 2>&1 || true
164-
rm -rf build/*
168+
find build -mindepth 1 -maxdepth 1 ! -name 'native_assets' -exec rm -rf {} + 2>/dev/null || true
165169
166170
# Run flutter build and capture its output
167171
flutter pub get --enforce-lockfile

.github/actions/releases/setup-ios/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ runs:
5050
xcodebuild -downloadPlatform iOS
5151
flutter pub get --enforce-lockfile
5252
53+
export GITHUB_API_PUBLIC_READONLY_TOKEN="${{ github.token }}"
54+
# The first bundle run may update transformer-managed inputs and exit
55+
# non-zero. Re-running picks up those updates, matching CI asset builds.
56+
flutter build bundle --release --no-pub >/dev/null 2>&1 || true
57+
flutter build bundle --release --no-pub
58+
5359
cd ios
5460
pod install
5561

.github/actions/releases/setup-macos/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ runs:
5353
run: |
5454
flutter pub get --enforce-lockfile
5555
56+
export GITHUB_API_PUBLIC_READONLY_TOKEN="${{ github.token }}"
57+
# The first bundle run may update transformer-managed inputs and exit
58+
# non-zero. Re-running picks up those updates, matching CI asset builds.
59+
flutter build bundle --release --no-pub >/dev/null 2>&1 || true
60+
flutter build bundle --release --no-pub
61+
5662
cd macos
5763
pod install
5864

.github/workflows/desktop-builds.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,13 @@ jobs:
8080
id: build
8181
env:
8282
GITHUB_API_PUBLIC_READONLY_TOKEN: ${{ secrets.GITHUB_TOKEN }}
83-
# Disable code signing for macOS PR builds
84-
CODE_SIGNING_ALLOWED: ${{ matrix.platform == 'macos' && github.event_name == 'pull_request' && 'NO' || '' }}
85-
CODE_SIGNING_REQUIRED: ${{ matrix.platform == 'macos' && github.event_name == 'pull_request' && 'NO' || '' }}
86-
EXPANDED_CODE_SIGN_IDENTITY: ${{ matrix.platform == 'macos' && github.event_name == 'pull_request' && '-' || '' }}
83+
# Flutter only forwards Xcode overrides with the FLUTTER_XCODE_ prefix.
84+
FLUTTER_XCODE_CODE_SIGNING_ALLOWED: ${{ matrix.platform == 'macos' && github.event_name == 'pull_request' && 'NO' || '' }}
85+
FLUTTER_XCODE_CODE_SIGNING_REQUIRED: ${{ matrix.platform == 'macos' && github.event_name == 'pull_request' && 'NO' || '' }}
86+
FLUTTER_XCODE_CODE_SIGN_IDENTITY: ${{ matrix.platform == 'macos' && github.event_name == 'pull_request' && '' || '' }}
87+
FLUTTER_XCODE_CODE_SIGN_STYLE: ${{ matrix.platform == 'macos' && github.event_name == 'pull_request' && 'Manual' || '' }}
88+
FLUTTER_XCODE_DEVELOPMENT_TEAM: ${{ matrix.platform == 'macos' && github.event_name == 'pull_request' && '' || '' }}
89+
FLUTTER_XCODE_PROVISIONING_PROFILE_SPECIFIER: ${{ matrix.platform == 'macos' && github.event_name == 'pull_request' && '' || '' }}
8790
uses: ./.github/actions/generate-assets
8891
with:
8992
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/roll-sdk-packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
uses: subosito/flutter-action@v2
4949
with:
5050
# NB! Keep up-to-date with the flutter version used for development
51-
flutter-version: "3.35.3"
51+
flutter-version: "3.41.4"
5252
channel: "stable"
5353

5454
- name: Determine configuration

.github/workflows/ui-tests-on-pr.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,21 @@ jobs:
5050
- name: Install Chrome and chromedriver
5151
id: setup_chrome
5252
if: ${{ matrix.browser == 'chrome' }}
53-
uses: browser-actions/setup-chrome@v1
53+
uses: browser-actions/setup-chrome@v2
5454
with:
55-
chrome-version: 116.0.5845.96
55+
chrome-version: stable
5656
install-chromedriver: true
5757
install-dependencies: true
5858

59+
- name: Print Chrome setup
60+
id: print_chrome_setup
61+
if: ${{ matrix.browser == 'chrome' }}
62+
run: |
63+
echo "Chrome path: ${{ steps.setup_chrome.outputs.chrome-path }}"
64+
"${{ steps.setup_chrome.outputs.chrome-path }}" --version
65+
echo "ChromeDriver path: ${{ steps.setup_chrome.outputs.chromedriver-path }}"
66+
"${{ steps.setup_chrome.outputs.chromedriver-path }}" --version
67+
5968
- name: Enable safaridriver (sudo) (MacOS)
6069
id: enable_safari
6170
if: ${{ matrix.browser == 'safari' }}
@@ -85,6 +94,7 @@ jobs:
8594
continue-on-error: true
8695
env:
8796
GITHUB_API_PUBLIC_READONLY_TOKEN: ${{ secrets.GITHUB_TOKEN }}
97+
CHROME_EXECUTABLE: ${{ matrix.browser == 'chrome' && steps.setup_chrome.outputs.chrome-path || '' }}
8898
run: |
8999
dart run_integration_tests.dart \
90100
-d ${{ matrix.display }} \

0 commit comments

Comments
 (0)