File tree 2 files changed +16
-3
lines changed
2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -31,11 +31,24 @@ group = "com.almightyalpaca.jetbrains.plugins.discord"
31
31
32
32
@Suppress(" UNCHECKED_CAST" )
33
33
val versionDetails = (project.extra[" versionDetails" ] as Closure <VersionDetails >)()
34
- project.version = versionDetails.lastTag.removePrefix(" v" ) + when {
35
- versionDetails.isCleanTag -> " "
34
+
35
+ var version = versionDetails.lastTag.removePrefix(" v" )
36
+ version + = when (versionDetails.commitDistance) {
37
+ 0 -> " "
36
38
else -> " +${versionDetails.commitDistance} "
37
39
}
38
40
41
+ // if (!versionDetails.isCleanTag) {
42
+ // version += "-dirty"
43
+ // allprojects {
44
+ // listOf("publishPlugin", "uploadIcons", "uploadLanguages").forEach { name ->
45
+ // tasks.findByName(name)?.enabled = false
46
+ // }
47
+ // }
48
+ // }
49
+
50
+ project.version = version
51
+
39
52
allprojects {
40
53
repositories {
41
54
mavenCentral()
Original file line number Diff line number Diff line change 1
- ## v1.1.0 - More bugs to fix
1
+ ## v1.1.0 - Hidden editions
2
2
- Fix error when closing a project. (#63 )
3
3
- Beta testers now get a special role in the server
4
4
- Add IDE names without editions (e.g. 'IntelliJ IDEA' instead of 'IntelliJ IDEA Community')
You can’t perform that action at this time.
0 commit comments