Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

[CI] Automation, build, CI fixes #443

Merged
merged 45 commits into from
Mar 1, 2021
Merged

[CI] Automation, build, CI fixes #443

merged 45 commits into from
Mar 1, 2021

Conversation

guidezpl
Copy link
Member

@guidezpl guidezpl commented Feb 25, 2021

The Github action workflow for creating automatically drafting releases is currently not working and has not yet been run.

Fixes the workflow through a bunch of trial and error

  • Don't specify exact Visual C++ redistributables
  • Update target versions
  • Differentiate upload asset type (.zip, gzip, etc.)
  • Use == instead os.startsWith
  • Run pub get after flutter create .
  • Fix zipping and tarring for macOS and Linux

Fixes the windows build by recreating windows/
Fixes #438

Result

Screenshot 2021-02-26 at 15 49 35

Size reduction since previous release

In part due to removing 13mb of oversized assets from flutter_gallery_assets

asset difference since previous release
flutter_gallery_android.apk -11%
flutter_gallery_linux.tar.gz -29%
flutter_gallery_macos.zip -11%
flutter_gallery_windows.zip -12%

@guidezpl guidezpl changed the title Fix automation release Automation, build, CI fixes Feb 26, 2021
Copy link
Contributor

@rami-a rami-a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@guidezpl guidezpl merged commit 1505fd1 into master Mar 1, 2021
@guidezpl guidezpl deleted the fix-automation-release branch March 1, 2021 15:20
@guidezpl guidezpl changed the title Automation, build, CI fixes [CI] Automation, build, CI fixes Aug 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Golden tests failing on CI
3 participants