Move mkdir -p target to separate command

This commit is contained in:
Spencer Gibb
2017-04-10 14:56:09 -06:00
parent 8b6f1bb1f9
commit 7e2582c692

View File

@@ -132,7 +132,8 @@ public class ReleaserProperties {
* provided version
*/
private String[] publishDocsCommands = {
"mkdir -p target && wget https://raw.githubusercontent.com/spring-cloud/spring-cloud-build/master/docs/src/main/asciidoc/ghpages.sh -O target/gh-pages.sh",
"mkdir -p target",
"wget https://raw.githubusercontent.com/spring-cloud/spring-cloud-build/master/docs/src/main/asciidoc/ghpages.sh -O target/gh-pages.sh",
"chmod +x target/gh-pages.sh",
"./target/gh-pages.sh -v {{version}} -c"
};