shorebirdtech / shorebird

Code Push for Flutter and other tools for Flutter businesses.
https://shorebird.dev
Other
2.31k stars 140 forks source link

fix: Could not create `ReleaseArtifact` #688

Closed johnnypramadya closed 1 year ago

johnnypramadya commented 1 year ago

johnnypramadya@192 codepush % shorebird releases list πŸš€ Releases (b3bb6ecf-6aad-4897-beb2-4616cc03dcd7) β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β” β”‚ Version β”‚ Name β”‚ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€ β”‚ 1.0.0+1 β”‚ -- β”‚ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€ β”‚ 1.0.1+2 β”‚ -- β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”˜ johnnypramadya@192 codepush % shorebird patch android βœ“ Building patch (2.7s) βœ“ Fetching apps (0.6s) βœ“ Detected release version 1.0.1+2 (0.2s) βœ“ Fetching release (0.4s) βœ“ Fetching Flutter revision (20ms) βœ— CheckedFromJsonException Could not create ReleaseArtifact. There is a problem with "id". type 'Null' is not a subtype of type 'int' in type cast (0.5s)

felangel commented 1 year ago

Hi @johnnypramadya πŸ‘‹ Can you provide the version of shorebird that you used? (shorebird --version)

If you’re on an older version you will need to upgrade via shorebird upgrade to resolve the issue. Sorry for any inconvenience!

johnnypramadya commented 1 year ago

Shorebird 0.4.5 Shorebird Engine β€’ revision 016c3010948dcfe5b57838741374bc1c54fecf89

felangel commented 1 year ago

Shorebird 0.4.5 Shorebird Engine β€’ revision 016c3010948dcfe5b57838741374bc1c54fecf89

You’ll need to upgrade to 0.5.0 (shorebird upgrade). Apologies for the inconvenience and let me know if that helps πŸ‘

johnnypramadya commented 1 year ago

shorebird patch android successfully after I do shorebird upgrade Thanks! @felangel