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