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 {} \;