From a812fcfe0ad98cdaa1a820d246bdd1444b4df96e Mon Sep 17 00:00:00 2001 From: Chris Carini <6374067+ChrisCarini@users.noreply.github.com> Date: Sun, 17 Mar 2024 21:34:29 -0700 Subject: [PATCH] Support IntelliJ plugin version ending in `-EAP` to target EAP versions for plugin verifier. (#266) --- build_standard_jetbrains_plugin_build.gradle | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build_standard_jetbrains_plugin_build.gradle b/build_standard_jetbrains_plugin_build.gradle index 88fd7ca..f602dea 100644 --- a/build_standard_jetbrains_plugin_build.gradle +++ b/build_standard_jetbrains_plugin_build.gradle @@ -123,8 +123,9 @@ tasks { // Contrary to above, we want to speed up CI, so skip verification of `IU`. types.set(Arrays.asList(properties('platformType'))) - // Only get the released versions. - releaseChannels.set([Channel.RELEASE]) + // Only get the released versions if we are not targeting an EAP. + def isEAP = properties("pluginVersion").endsWith('-EAP') + releaseChannels.set([isEAP ? Channel.EAP : Channel.RELEASE]) // Verify against the most recent patch release of the `platformVersion` version // (ie, if `platformVersion` = 2022.2, and the latest patch release is `2022.2.2`,