diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 36a4f6b..960c818 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -71,5 +71,5 @@ jobs: gh pr create \ --title "Changelog update - \`$VERSION\`" \ --body "Current pull request contains patched \`CHANGELOG.md\` file for the \`$VERSION\` version." \ - --base main \ + --base master \ --head $BRANCH \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 45a991e..a1b25fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,12 @@ - - -# LamaPlugin Changelog - -## [Unreleased] - -## [0.1.0] + + +# LamaPlugin Changelog + +## [Unreleased] +### Fixed +- Errors during compiler fetch + +## [0.1.0] ### Added - Init project - Parser/lexer @@ -18,5 +20,5 @@ - Some keywords - Go To Declaration & Find Usages - Parameter Info -- GitHub CI/CD - +- GitHub CI/CD + diff --git a/gradle.properties b/gradle.properties index e33d635..6c3e298 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,7 +2,7 @@ # -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html pluginGroup=org.jetbrains.lama pluginName=Lama -pluginVersion=0.1.0 +pluginVersion=0.1.1 # See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html # for insight into build numbers and IntelliJ Platform versions. pluginSinceBuild=213 diff --git a/src/main/kotlin/org/jetbrains/lama/util/LamaStdUnitUtil.kt b/src/main/kotlin/org/jetbrains/lama/util/LamaStdUnitUtil.kt index b26c585..ef57dbc 100644 --- a/src/main/kotlin/org/jetbrains/lama/util/LamaStdUnitUtil.kt +++ b/src/main/kotlin/org/jetbrains/lama/util/LamaStdUnitUtil.kt @@ -6,6 +6,8 @@ import kotlin.io.path.notExists object LamaStdUnitUtil { fun Class<*>.addStdUnitStubToDirectory(stdlibRoot: Path) { + if (stdlibRoot.notExists()) return + val stdUnitPath = stdlibRoot.resolve(UNIT_NAME_WITH_EXT) if (stdUnitPath.notExists()) { val stdUnitText = getResource("/stubs/$UNIT_NAME_WITH_EXT")?.readText()