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

Hide stable releases by default #515

Merged
merged 1 commit into from
Feb 8, 2024
Merged

Conversation

mkondratek
Copy link
Contributor

@mkondratek mkondratek commented Feb 6, 2024

Test plan

  • do the release 😅

@mkondratek mkondratek self-assigned this Feb 6, 2024

channels.set(
listOf(
properties("pluginVersion").split('-').getOrElse(1) { "default" }.split('.').first()))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

.split('.').first()

This ☝️ was redundant. Historically, the plugin supported versions like 2.1.7-alpha.3. It's no longer a case for us.

// The published version WILL NOT be available right after the JetBrains approval.
// Instead, we control if and when we want to make it available.
// (Note: there is ~48h waiting time for JetBrains approval).
hidden.set(true)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

🕵️‍♂️

Copy link
Contributor Author

Choose a reason for hiding this comment

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

if (channel == "default") {
// The published version WILL NOT be available right after the JetBrains approval.
// Instead, we control if and when we want to make it available.
// (Note: there is ~48h waiting time for JetBrains approval).
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mkondratek mkondratek force-pushed the mkondratek/chore/hide-by-default branch from 86067fe to b621ab7 Compare February 7, 2024 14:10
@mkondratek mkondratek enabled auto-merge (squash) February 8, 2024 18:15
@pkukielka
Copy link
Contributor

LGTM

Copy link
Contributor

@pkukielka pkukielka left a comment

Choose a reason for hiding this comment

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

LGTM

@mkondratek mkondratek merged commit a77177d into main Feb 8, 2024
2 checks passed
@mkondratek mkondratek deleted the mkondratek/chore/hide-by-default branch February 8, 2024 19:18
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