From f6a9199f2513c40cf88174b9b01a2c3623034bc3 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Fri, 8 Jan 2021 18:01:58 -0500 Subject: [PATCH] Change exec find --- .drone.yml | 2 +- compress_release.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 628fb67..3327022 100644 --- a/.drone.yml +++ b/.drone.yml @@ -47,7 +47,7 @@ steps: image: ubuntu commands: - ./compress_release.sh - - find ./dist -type f -perm +111 -execdir tar -czvf {}.tar.gz {} \; + - find ./dist -type f -executable -execdir tar -czvf {}.tar.gz {} \; - name: upload gitea pre-release image: plugins/gitea-release diff --git a/compress_release.sh b/compress_release.sh index 7947d80..d710452 100755 --- a/compress_release.sh +++ b/compress_release.sh @@ -1,3 +1,3 @@ #! /bin/bash -find ./dist -type f -perm +111 -execdir tar -czvf {}.tar.gz {} \; +find ./dist -type f -executable -execdir tar -czvf {}.tar.gz {} \;