From 7bb7a789dcf7a75bfb5f7dd4a6d234e6157faeb0 Mon Sep 17 00:00:00 2001 From: = <=> Date: Tue, 9 Jul 2024 22:43:16 -0300 Subject: [PATCH] fix/workflow --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3e5c3eb..46b25f2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,7 +39,8 @@ jobs: - name: Prepare directory for zipping run: | mkdir easypanel - cp -r $(ls -A | grep -v easypanel) easypanel/ + shopt -s extglob + cp -r !(easypanel) easypanel/ - name: Zip repository contents run: zip -r easypanel.zip easypanel @@ -73,4 +74,4 @@ jobs: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: ./easypanel.zip asset_name: easypanel.zip - asset_content_type: application/zip \ No newline at end of file + asset_content_type: application/zip