Skip to content

Commit 949f53f

Browse files
Use unicode version in plugin versioning
1 parent 4f822f8 commit 949f53f

File tree

3 files changed

+27
-4
lines changed

3 files changed

+27
-4
lines changed

README.adoc

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ image:https://img.shields.io/github/release/jenkinsci/emoji-symbols-api-plugin.s
1515

1616
== Introduction
1717

18-
This plugin provides https://unicode.org/emoji/charts/full-emoji-list.html[Unicode emojis] as symbols to be used by other plugins.
18+
This plugin provides https://unicode.org/emoji/charts/full-emoji-list.html[Unicode Emojis] as symbols to be used by other plugins.
1919

2020
The SVG files bundled by the plugin render the emojis as `text` rather than `path`.
2121
This allows emojis to be interpreted by the browser being used.
@@ -115,3 +115,16 @@ node {
115115
addBadge(icon: emoji)
116116
}
117117
----
118+
119+
== Versioning
120+
121+
Version follows the pattern of `<unicode emojis version>-<plugin version>`.
122+
This way it is clear what upstream dependency is offered and allows patch releases for the plugin itself if required.
123+
124+
== Release Notes
125+
126+
Release notes are recorded in https://github.com/jenkinsci/emoji-symbols-api-plugin/releases[GitHub Releases].
127+
128+
== License
129+
130+
* Plugin source and documentation - https://opensource.org/licenses/MIT[MIT License]

pom.xml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111

1212
<groupId>io.jenkins.plugins</groupId>
1313
<artifactId>emoji-symbols-api</artifactId>
14-
<version>${changelist}</version>
14+
<version>${revision}-${changelist}</version>
1515
<packaging>hpi</packaging>
1616

1717
<name>Emoji Symbols API Plugin</name>
18-
<description>Bundles Unicode emojis as symbols to be used by other plugins.</description>
18+
<description>Bundles Unicode Emojis as symbols to be used by other plugins.</description>
1919
<url>https://github.com/${gitHubRepo}</url>
2020

2121
<licenses>
@@ -41,6 +41,7 @@
4141
</scm>
4242

4343
<properties>
44+
<revision>16.0</revision>
4445
<changelist>999999-SNAPSHOT</changelist>
4546
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
4647
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
@@ -62,4 +63,13 @@
6263
<url>https://repo.jenkins-ci.org/public/</url>
6364
</pluginRepository>
6465
</pluginRepositories>
66+
67+
<build>
68+
<resources>
69+
<resource>
70+
<filtering>true</filtering>
71+
<directory>src/main/resources</directory>
72+
</resource>
73+
</resources>
74+
</build>
6575
</project>

src/main/resources/index.jelly

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?jelly escape-by-default='true'?>
22
<div>
3-
This plugin provides <a href="https://unicode.org/emoji/charts/full-emoji-list.html">Unicode emojis</a> as symbols to be used by other plugins.
3+
This plugin provides <a href="https://unicode.org/emoji/charts/full-emoji-list.html">Unicode Emojis</a> v${revision} as symbols to be used by other plugins.
44
</div>

0 commit comments

Comments
 (0)