You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/02/06 18:46:49 UTC

[GitHub] mrutkows closed pull request #714: Add .txt as suffix to LICENSE, NOTICE and CHANGELOG

mrutkows closed pull request #714: Add .txt as suffix to LICENSE, NOTICE and CHANGELOG
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/pull/714
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/LICENSE b/LICENSE.txt
similarity index 100%
rename from LICENSE
rename to LICENSE.txt
diff --git a/build.gradle b/build.gradle
index 965aa968..d32b8c75 100644
--- a/build.gradle
+++ b/build.gradle
@@ -44,7 +44,7 @@ task taredSources(type: Tar) {
         include('gradle/**')
         include('README.md', 'CONTRIBUTING.md', 'DEPENDENCIES.md')
         include('gradlew', 'gradlew.bat', 'Dockerfile', 'build.gradle')
-        include('LICENSE', 'NOTICE', 'CHANGELOG')
+        include('LICENSE.txt', 'NOTICE.txt', 'CHANGELOG.txt')
     }
     destinationDir file(buildFolder)
     extension packageExtension
@@ -53,7 +53,10 @@ task taredSources(type: Tar) {
 }
 
 task cleanBuild(type: Delete) {
-    delete file(buildFolder).listFiles()
+    def folder = new File(buildFolder)
+    if(folder.exists()) {
+        delete file(buildFolder).listFiles()
+    }
 }
 
 task removeBinary(type: Delete) {


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services