Skip to content
Permalink
Browse files
allow other despots to remove files easily
  • Loading branch information
paulk-asert committed Apr 10, 2018
1 parent 8e73485 commit 5a9d3fe52f424a48d236677fe5bcc49388fe7dff
Showing 1 changed file with 1 addition and 0 deletions.
@@ -233,6 +233,7 @@ task uploadDocumentationToGroovyWebsite() {
put from: "$stagingDir/target/distributions/apache-groovy-docs-${relVersion}.zip", into: '/var/www/docs/docs'
execute "rm -rf /var/www/docs/docs/groovy-${relVersion}/"
execute "unzip -d /var/www/docs/docs/ /var/www/docs/docs/apache-groovy-docs-${relVersion}.zip"
execute "chmod 664 /var/www/docs/docs/apache-groovy-docs-${relVersion}.zip"
execute "chgrp -R teamcity /var/www/docs/docs/groovy-${relVersion}/"
// execute "chown -R teamcity /var/www/docs/docs/groovy-${relVersion}/"
execute "rm /var/www/docs/docs/apache-groovy-docs-${relVersion}.zip"

0 comments on commit 5a9d3fe

Please sign in to comment.