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

sciabarracom pushed a commit to branch 0.9.0
in repository https://gitbox.apache.org/repos/asf/openserverless.git

commit ca6b9d5354d386a509b2dc9694b96d4b9130279d
Author: Michele Sciabarra <[email protected]>
AuthorDate: Thu Sep 10 20:32:56 2026 +0200

    find binaries and exclude - wip
---
 Taskfile.yml | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/Taskfile.yml b/Taskfile.yml
index da60a4a..55cb7f2 100644
--- a/Taskfile.yml
+++ b/Taskfile.yml
@@ -291,6 +291,18 @@ tasks:
             cd {{.TASKFILE_DIR}}
         done
 
+    find-binaries:
+      silent: true
+      desc: find binary files
+      cmds:
+      - >
+          find . -path ./.git -prune
+          -o -iname '*.png' -prune
+          -o -iname '*.jpg' -prune
+          -o -type f -size +0 -print0
+          | xargs -0 file --mime-encoding
+          | grep ':.*\bbinary$' | cut -d: -f1
+
     sync-images:
       desc: synchronize runtimes.json and opsroot.json with published images, 
use WRITE=y to actuallyt write, GHUSER=github-user for a non apache user on 
ghcr.io
       cmds:
@@ -309,7 +321,10 @@ tasks:
       - git tag "v{{.VER}}"
       - >
           {{if eq OS "darwin"}}gtar{{else}}tar{{end}}
-          -C .. --exclude='.git'
+          -C ..
+          --exclude='.git'
+          --exclude='./cli/_patches/wskdeploy/tests/*'
+          --exclude='./cli/_patches/wskdeploy/specification/*'
           --transform 's,^openserverless,openserverless-{{.VER}},'
           -czvf ../openserverless-{{.VER}}-src.tar.gz
           openserverless

Reply via email to