Skip to content

Commit

Permalink
[macports] replace project version with macro. Resolves #555
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Nov 29, 2021
1 parent 857cdd0 commit 99069d6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ protected void fillToolProperties(Map<String, Object> props, Distribution distri
if (distributionUrl.endsWith(artifactFilename)) {
distributionUrl = distributionUrl.substring(0, distributionUrl.length() - artifactFilename.length());
}
distributionUrl = distributionUrl.replace(context.getModel().getProject().getResolvedVersion(), "${version}");
props.put(Constants.KEY_MACPORTS_DISTRIBUTION_URL, distributionUrl);
}

Expand Down

0 comments on commit 99069d6

Please sign in to comment.