Polish cherry-picks from master

This commit is contained in:
Oleg Zhurakousky
2020-07-31 16:08:11 +02:00
parent 5ee85187bf
commit afb2e43ed4
2 changed files with 3 additions and 3 deletions

View File

@@ -961,7 +961,6 @@ public class ReleaserProperties implements Serializable {
**/
private String deployGuidesCommand = "./mvnw clean verify deploy -B -Pguides,integration -pl guides {{systemProps}}";
private String publishDocsCommand = "./mvnw deploy -DskipTests -B -Pfast,deploy,docs -pl docs {{systemProps}}";
/**

View File

@@ -190,8 +190,9 @@ public class ProjectCommandExecutor {
ProjectVersion changedVersion) {
try {
String providedCommand = new CommandPicker(properties)
.publishDocsCommand(originalVersion);
log.info("Executing command(s) for publishing docs " + providedCommand + " / " + properties);
.publishDocsCommand(changedVersion);
log.info("Executing command(s) for publishing docs " + providedCommand + " / "
+ properties);
String[] providedCommands = StringUtils
.delimitedListToStringArray(providedCommand, "&&");
for (String command : providedCommands) {