You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by dg...@apache.org on 2020/10/30 20:06:32 UTC

[openwhisk] branch master updated: make generation of git.properties optional (#5018)

This is an automated email from the ASF dual-hosted git repository.

dgrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new dfbd2ac  make generation of git.properties optional (#5018)
dfbd2ac is described below

commit dfbd2ac92c5553bbf6deb67c8fa3c43566bf3387
Author: David Grove <dg...@users.noreply.github.com>
AuthorDate: Fri Oct 30 16:06:15 2020 -0400

    make generation of git.properties optional (#5018)
    
    To support building from a source release, allow the
    gitProperties task to fail without failing the build.
---
 core/standalone/build.gradle | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/core/standalone/build.gradle b/core/standalone/build.gradle
index b2fc7c9..a1f0a45 100644
--- a/core/standalone/build.gradle
+++ b/core/standalone/build.gradle
@@ -146,6 +146,11 @@ bootJar {
     finalizedBy copyBootJarToBin
 }
 
+// Support building standalone from source release (no .git)
+gitProperties {
+    failOnNoGitDirectory = false
+}
+
 // Gradle boot disables the default jar task. So need to now make
 // install task depend on bootJar such that it finds the required jar file
 // https://github.com/spring-projects/spring-boot/issues/13187