actually there are options for either overwriting a property if a value exists or specify a default value if a property does not exist. What about combining this?
I.e. something such as ${name:+foo:-bar} to answer foo if ${name} exists and bar if ${name} is undefined?
This way you could use the following configuration:
Hi,
actually there are options for either overwriting a property if a value exists or specify a default value if a property does not exist. What about combining this?
I.e. something such as
${name:+foo:-bar}
to answerfoo
if${name}
exists andbar
if${name}
is undefined?This way you could use the following configuration:
to let the plugin calculate a version number similar to what
git describe --tags --always --dirty
returns?