Changeset 35802 in osm


Ignore:
Timestamp:
2021-08-04T21:50:28+02:00 (3 years ago)
Author:
Don-vip
Message:

fix #21197 - use plugin.version if it is defined (patch by taylor.smock)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/build-common.xml

    r35766 r35802  
    181181        <manifest file="${manifest}" mode="update">
    182182            <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"/>
    184185            <attribute name="Plugin-Class" value="${plugin.class}" />
    185186            <attribute name="Plugin-Description" value="${plugin.description}" />
Note: See TracChangeset for help on using the changeset viewer.