diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index bec21ca..87d3042 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -136,30 +136,31 @@ jobs: - name: ZIP-Datei erstellen id: zip run: | + set -x cd repo - + echo "Starte ZIP-Erstellung" ZIP_FOLDER="${{ steps.info.outputs.zip_folder }}" ZIP_FILE="${ZIP_FOLDER}.zip" - VERSION="${{ steps.releaseinfo.outputs.version }}" REPO_NAME="${GITHUB_REPOSITORY##*/}" + echo "ZIP_FOLDER: $ZIP_FOLDER" + echo "ZIP_FILE: $ZIP_FILE" #ZIP_NAME="${REPO_NAME}-${VERSION}.zip" - - mkdir -p dist/${ZIP_FOLDER} - + echo "rsync start" rsync -a \ --exclude='.git' \ --exclude='.gitea' \ --exclude='.plugin' \ --exclude='dist' \ ./ dist/${ZIP_FOLDER}/ - + echo "rsync fertig" cd dist + echo "zip start" zip -r "${ZIP_FILE}" "${ZIP_FOLDER}/" \ -x "*.pyc" -x "*/__pycache__/*" + echo "zip fertig" cd .. - echo "zip_file=${ZIP_FILE}" >> $GITHUB_OUTPUT - name: Gitea-Release erstellen