Skip to content

Commit 3b5e321

Browse files
committed
📝 (config): 完善版本发布信息
1 parent a3f69ec commit 3b5e321

File tree

5 files changed

+46
-25
lines changed

5 files changed

+46
-25
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,6 @@ bin/
4040
.vscode/
4141

4242
### Mac OS ###
43-
.DS_Store
43+
.DS_Store
44+
45+
certificate

build.gradle.kts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ intellij {
2828
version.set("2021.3")
2929
type.set("PC") // Target IDE Platform
3030

31-
plugins.set(listOf(/* Plugin Dependencies */))
31+
plugins.set(listOf())
3232
}
3333

3434
tasks {
@@ -47,12 +47,12 @@ tasks {
4747
}
4848

4949
signPlugin {
50-
certificateChain.set(System.getenv("CERTIFICATE_CHAIN"))
51-
privateKey.set(System.getenv("PRIVATE_KEY"))
52-
password.set(System.getenv("PRIVATE_KEY_PASSWORD"))
50+
certificateChainFile.set(file("certificate/irony.crt"))
51+
privateKeyFile.set(file("certificate/irony.pem"))
52+
password.set(providers.environmentVariable("PRIVATE_KEY_PASSWORD"))
5353
}
5454

5555
publishPlugin {
56-
token.set(System.getenv("PUBLISH_TOKEN"))
56+
token.set(providers.environmentVariable("PUBLISH_TOKEN"))
5757
}
5858
}

src/main/resources/META-INF/plugin.xml

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html -->
2-
<idea-plugin>
2+
<idea-plugin url="https://github.com/PyQt5/QSSEditorPyCharm.git">
33
<!-- Unique identifier of the plugin. It should be FQN. It cannot be changed between the plugin versions. -->
44
<id>irony.ide.plugin.qsseditor</id>
55

66
<!-- Public plugin name should be written in Title Case.
77
Guidelines: https://plugins.jetbrains.com/docs/marketplace/plugin-overview-page.html#plugin-name -->
88
<name>QSSEditor</name>
99

10+
<version>1.0.0</version>
11+
12+
<idea-version since-build="213"/>
13+
1014
<!-- A displayed Vendor name or Organization ID displayed on the Plugins Page. -->
1115
<vendor email="892768447@qq.com" url="https://github.com/PyQt5">Irony</vendor>
1216

@@ -35,14 +39,27 @@ Must Install Proxy Server from first(首先需要安装设计师插件)<br/><br/
3539
3640
<h3>Preview</h3>
3741
38-
<img alt="QSSEditor" src="https://github.com/PyQt5/QSSEditor/raw/main/QSSEditorIdea.gif" />
42+
<img alt="QSSEditor" src="https://github.com/PyQt5/QSSEditor/raw/main/QSSEditor.gif" />
3943
4044
]]></description>
4145

46+
<change-notes><![CDATA[
47+
<h2>New Features</h2>
48+
<ul>
49+
<li>1.0.0 - Initial release of the plugin.</li>
50+
</ul>
51+
]]></change-notes>
52+
4253
<!-- Product and plugin compatibility requirements.
4354
Read more: https://plugins.jetbrains.com/docs/intellij/plugin-compatibility.html -->
4455
<depends>com.intellij.modules.platform</depends>
4556

57+
<actions resource-bundle="messages.QSSBundle">
58+
<action id="apply" class="irony.pycharm.qsseditor.QSSAction" text="Apply Style">
59+
<add-to-group group-id="EditorPopupMenu" anchor="first"/>
60+
</action>
61+
</actions>
62+
4663
<!-- Extension points defined by the plugin.
4764
Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->
4865
<extensions defaultExtensionNs="com.intellij">
@@ -64,9 +81,5 @@ Must Install Proxy Server from first(首先需要安装设计师插件)<br/><br/
6481
topic="com.intellij.ide.plugins.DynamicPluginListener"/>
6582
</applicationListeners>
6683

67-
<actions resource-bundle="messages.QSSBundle">
68-
<action id="apply" class="irony.pycharm.qsseditor.QSSAction" text="Apply Style">
69-
<add-to-group group-id="EditorPopupMenu" anchor="first"/>
70-
</action>
71-
</actions>
84+
<resource-bundle>messages.QSSBundle</resource-bundle>
7285
</idea-plugin>
Lines changed: 9 additions & 12 deletions
Loading
Lines changed: 9 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)