Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #18 - Make colors more future-proof #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

papjul
Copy link
Contributor

@papjul papjul commented Nov 25, 2024

This PR should fix #18, by making colors based on the final release date of the SDK version.

Final release date Color
< 1 year Green
< 2 years Blue-green
< 3 years Orange
< 4 years Red-orange
> 4 years Red

That way, it should require less app maintenance (if none of us is there to do the yearly maintenance of targetSdk), and if Google keeps the same release pace, colors should be good for about 2.5 years (up to 2027 Q2 if a SDK 37 is released in 2026 Q2).

Note that since SDK 32 and SDK 33 were released at about the same time, they are now showing as the same orange color, which is the intended behavior if we are based on year since release.

@papjul papjul marked this pull request as draft November 25, 2024 14:48
@papjul papjul marked this pull request as ready for review November 25, 2024 14:49
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.

Automatic version names/colors
1 participant