feat: Wire project version to System properties before execution
This commit is contained in:
parent
b5e068a90a
commit
926eb906f4
1 changed files with 4 additions and 3 deletions
|
@ -125,6 +125,7 @@ public abstract class AbstractJReleaserOperation<S extends AbstractJReleaserOper
|
||||||
List<String> args = new ArrayList<>();
|
List<String> args = new ArrayList<>();
|
||||||
|
|
||||||
if (project_ != null) {
|
if (project_ != null) {
|
||||||
|
System.setProperty("JRELEASER_PROJECT_VERSION", project_.version().toString());
|
||||||
args.add(javaTool());
|
args.add(javaTool());
|
||||||
args.add("-cp");
|
args.add("-cp");
|
||||||
args.add(String.format("%s:%s:%s:%s", new File(project_.libTestDirectory(), "*"),
|
args.add(String.format("%s:%s:%s:%s", new File(project_.libTestDirectory(), "*"),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue