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

jacopoc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ofbiz-tools.git

commit 940afa007ad8ce07e59e211f73408ca8cc2ab9e3
Author: Jacopo Cappellato <[email protected]>
AuthorDate: Thu Oct 22 16:04:39 2026 +0200

    Merge plugins LICENSE into the framework LICENSE in the source release
    
    Before plugins/LICENSE is removed from the release tree, append everything
    after its first "=====" separator line (the plugin-specific licensing
    information) to the framework LICENSE file, so that information is still
    included in the source release.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
 process-ofbiz-release.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/process-ofbiz-release.sh b/process-ofbiz-release.sh
index 8bbf8d3..89f1e0a 100644
--- a/process-ofbiz-release.sh
+++ b/process-ofbiz-release.sh
@@ -32,6 +32,12 @@ set -o pipefail
 curl -fsSL 
https://github.com/apache/ofbiz-framework/archive/refs/tags/release$1.tar.gz | 
tar -xz -C apache-ofbiz-$1/ --strip-components=1
 curl -fsSL 
https://github.com/apache/ofbiz-plugins/archive/refs/tags/release$1.tar.gz | 
tar -xz -C apache-ofbiz-$1/plugins/ --strip-components=1
 
+# Append the plugin-specific part of the plugins LICENSE (everything after the
+# first separator line) to the framework LICENSE, before the former is removed
+echo "## Merging the plugins LICENSE into the framework LICENSE"
+awk 'found; !found && index($0, 
"=========================================================================") 
{found=1}' \
+    apache-ofbiz-$1/plugins/LICENSE >> apache-ofbiz-$1/LICENSE
+
 # Remove files that do not belong in the source release: plugin repository
 # metadata superseded by the framework's files, IDE/tooling configuration,
 # version control settings and GitHub/ASF infrastructure configuration.

Reply via email to