Skip to content

Commit

Permalink
add 251 support
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurnikov committed Jan 16, 2025
1 parent 9fa89b7 commit db9493a
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 22 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
matrix:
gradle-properties-version: [ 242, 243 ]
platform-type: [ RR, PC ]
include:
- gradle-properties-version: 251
platform-type: IC

runs-on: ubuntu-latest
env:
Expand Down
20 changes: 2 additions & 18 deletions .github/workflows/publish-stable-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,10 @@ on:
types: [released]

jobs:
# check-for-tests-success:
# runs-on: ubuntu-latest
# permissions:
# actions: write
#
# steps:
# - name: Early exit if tests wasn't successful
# if: ${{ github.event.workflow_run.conclusion != 'success' }}
# run: |
# gh run cancel ${{ github.run_id }}
# gh run watch ${{ github.run_id }}
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


publish-eap-channel:
# needs: [ check-for-tests-success ]
publish-release:
strategy:
matrix:
gradle-properties-version: [ 242, 243 ]
gradle-properties-version: [ 242, 243, 251 ]

runs-on: ubuntu-latest
env:
Expand Down
5 changes: 5 additions & 0 deletions gradle-251.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# IntelliJ Platform Properties -> https://github.com/JetBrains/gradle-intellij-plugin#intellij-platform-properties
platformType = IC
platformVersion = 251.14649.49

stableRelease=true
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class SentryErrorReporter: ErrorReportSubmitter() {
val sentryEvent = SentryEvent()
sentryEvent.level = SentryLevel.ERROR

val plugin = IdeErrorsDialog.getPlugin(event)
val plugin = this.pluginDescriptor

val pluginInfoContext = mutableMapOf<String, Any>()
pluginInfoContext["Platform"] = ApplicationInfo.getInstance().fullApplicationName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import com.intellij.openapi.project.Project
import com.intellij.psi.PsiDirectory
import com.intellij.psi.PsiFile
import com.intellij.psi.SmartPointerManager
import com.intellij.psi.createSmartPointer
import com.intellij.util.IncorrectOperationException
import com.jetbrains.rd.util.firstOrNull
import org.apache.velocity.runtime.parser.ParseException
Expand Down
3 changes: 0 additions & 3 deletions src/main/kotlin/org/move/stdext/Utils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@ fun String.pluralize(): String = StringUtil.pluralize(this)
@NlsActions.ActionText
fun String.capitalized(): String = StringUtil.capitalize(this)

fun randomLowercaseAlphabetic(length: Int): String =
RandomStringUtils.random(length, "0123456789abcdefghijklmnopqrstuvwxyz")

fun numberSuffix(number: Int): String {
if ((number % 100) in 11..13) {
return "th"
Expand Down

0 comments on commit db9493a

Please sign in to comment.