Skip to content

Commit

Permalink
修复版本号
Browse files Browse the repository at this point in the history
  • Loading branch information
mdddj committed Apr 24, 2024
1 parent ea2f594 commit 72c37f7
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 22 deletions.
16 changes: 4 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
# IntelliJ Platform Plugin Template Changelog
# Changelog

## [Unreleased]
## Unreleased

## [1.3.3] - 2024-04-24
## 1.3.4 - 2024-04-24

- 添加antd table column 快速生成
- 添加interface快速生成

## [1.3.0] - 2024-04-23
## 1.3.0 - 2024-04-23

- Add antd from form generation function
- 添加生成antd pro from表单功能

## [1.1.2] - 2024-04-19

- upload test

## [1.1.1] - 2024-04-19

- bug fix
26 changes: 18 additions & 8 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import org.jetbrains.changelog.Changelog

plugins {
id("org.jetbrains.kotlin.jvm") version "1.9.22"
Expand All @@ -6,7 +7,7 @@ plugins {
}

group = "shop.itbug"
version = "1.3.3"
version = "1.3.4"

repositories {
mavenCentral()
Expand All @@ -29,9 +30,23 @@ tasks {
kotlinOptions.jvmTarget = "17"
}



val myChangeLog = provider {
changelog.renderItem(
changelog
.getUnreleased()
.withHeader(false)
.withEmptySections(false),
Changelog.OutputType.HTML
)
}


patchPluginXml {
sinceBuild.set("232")
untilBuild.set("242.*")
changeNotes.set(myChangeLog)
}

signPlugin {
Expand All @@ -50,16 +65,11 @@ tasks {
jvmArgs = listOf("-XX:+AllowEnhancedClassRedefinition")
}

test {
useJUnitPlatform()
}
}

dependencies {
testImplementation(kotlin("test"))
}

changelog {
version = project.version as String
unreleasedTerm.set("Unreleased")
path = file("CHANGELOG.md").canonicalPath
groups.empty()
}
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ class MyFieldPsiElementManager(private val psiElement: RsNamedFieldDecl) {
}
val docPsi = PsiTreeUtil.getChildOfType(psiElement, RsDocCommentImpl::class.java)
//判断///

if (docPsi != null && docPsi.lastLeaf.elementType is RsDocTokenType) {
if (docPsi != null) {
val last = PsiTreeUtil.lastChild(docPsi)
if (last.elementType is RsDocTokenType) {
return last.text
Expand Down

0 comments on commit 72c37f7

Please sign in to comment.