Modify ↓
Opened 4 years ago
Closed 4 years ago
#21197 closed defect (fixed)
[PATCH] plugins `build-common.xml` should use `plugin.version` if it is defined
Reported by: | taylor.smock | Owned by: | Don-vip |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin | Version: | |
Keywords: | Cc: |
Description
I noticed this when we updated auto_tools
today (see https://github.com/JOSM/auto-tools/releases/tag/v1.3.4 and compare that version to the one on https://josm.openstreetmap.de/wiki/Plugins (79
)).
-
plugins/build-common.xml
diff --git a/plugins/build-common.xml b/plugins/build-common.xml index 0c20dacb0..f8392f1c2 100644
a b 180 180 </delete> 181 181 <manifest file="${manifest}" mode="update"> 182 182 <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/> 183 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 183 <attribute name="Plugin-Version" value="${version.entry.commit.revision}" unless:set="plugin.version"/> 184 <attribute name="Plugin-Version" value="${plugin.version}" if:set="plugin.version"/> 184 185 <attribute name="Plugin-Class" value="${plugin.class}" /> 185 186 <attribute name="Plugin-Description" value="${plugin.description}" /> 186 187 <attribute name="Plugin-Date" value="${version.entry.commit.date}" />
Attachments (1)
Change History (3)
by , 4 years ago
Attachment: | 21197.patch added |
---|
comment:1 by , 4 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
In 35802/osm: