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

Ignore skipped versions when using AlertType.force #405

Merged
merged 1 commit into from
Sep 21, 2022

Conversation

aburgel
Copy link
Contributor

@aburgel aburgel commented Sep 18, 2022

If AlertType.force, it implies that the app wants the user to update, so any skipped versions should be ignored at that point.

To address this, I moved the skip version check after the rules are loaded, and only allow skipping if the rule alert type is not .force.

Fixes #402

@ArtSabintsev
Copy link
Owner

Seems to work well. Thanks!

@ArtSabintsev ArtSabintsev merged commit ec892ae into ArtSabintsev:master Sep 21, 2022
@aburgel aburgel deleted the aburgel/force-update branch September 21, 2022 03:00
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.

When rule is set to .critical, previous skipped version setting should be ignored
2 participants