Skip to content

fix(android): check version code in release mode - #9898

Merged
lucasfernog merged 1 commit into
tauri-apps:devfrom
pewsheen:fix/check-android-version-code
May 28, 2024
Merged

fix(android): check version code in release mode#9898
lucasfernog merged 1 commit into
tauri-apps:devfrom
pewsheen:fix/check-android-version-code

Conversation

@pewsheen

Copy link
Copy Markdown
Contributor

Ref: #9856 (comment)

CTA creates a new project with version 0.0.0 in tauri.conf.json and converts it to VersionCode=0 which is an invalid
version.

If the user is using dev mode, we can clamp the number and make it pass. When the user is building in release mode, we should let it fail and give a hint about the version.

@lucasfernog
lucasfernog merged commit adac218 into tauri-apps:dev May 28, 2024
@pewsheen
pewsheen deleted the fix/check-android-version-code branch May 28, 2024 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants