Skip to content

Commit

Permalink
Support IntelliJ plugin version ending in -EAP to target EAP versio…
Browse files Browse the repository at this point in the history
…ns for plugin verifier. (#266)
  • Loading branch information
ChrisCarini committed Mar 18, 2024
1 parent 0267fc0 commit a812fcf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build_standard_jetbrains_plugin_build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
Expand Down

0 comments on commit a812fcf

Please sign in to comment.