You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ratis.apache.org by sz...@apache.org on 2023/03/01 19:13:11 UTC

[ratis] branch master updated: RATIS-1799. Make shell scripts in binary package executable (#835)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 212690e21 RATIS-1799. Make shell scripts in binary package executable (#835)
212690e21 is described below

commit 212690e215f24eb5d48eff138ec24f3abe8da508
Author: Kaijie Chen <ch...@kaijie.org>
AuthorDate: Thu Mar 2 03:13:05 2023 +0800

    RATIS-1799. Make shell scripts in binary package executable (#835)
---
 ratis-assembly/src/main/assembly/bin-pkg.xml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/ratis-assembly/src/main/assembly/bin-pkg.xml b/ratis-assembly/src/main/assembly/bin-pkg.xml
index c07c83cd5..4d8986957 100644
--- a/ratis-assembly/src/main/assembly/bin-pkg.xml
+++ b/ratis-assembly/src/main/assembly/bin-pkg.xml
@@ -23,6 +23,21 @@
     <fileSet>
       <directory>${project.basedir}/target/apache-ratis-${project.version}-bin/apache-ratis-${project.version}-bin</directory>
       <outputDirectory>..</outputDirectory>
+      <excludes>
+        <exclude>bin/ratis</exclude>
+        <exclude>libexec/*.sh</exclude>
+        <exclude>examples/bin/*.sh</exclude>
+      </excludes>
+    </fileSet>
+    <fileSet>
+      <directory>${project.basedir}/target/apache-ratis-${project.version}-bin/apache-ratis-${project.version}-bin</directory>
+      <outputDirectory>..</outputDirectory>
+      <includes>
+        <include>bin/ratis</include>
+        <include>libexec/*.sh</include>
+        <include>examples/bin/*.sh</include>
+      </includes>
+      <fileMode>0755</fileMode>
     </fileSet>
   </fileSets>
 </assembly>