From 4d193382016eef61402a8f651ad6f6ab3750579d Mon Sep 17 00:00:00 2001 From: eXPerience83 <16572400+eXPerience83@users.noreply.github.com> Date: Mon, 23 Feb 2026 09:04:33 +0100 Subject: [PATCH] Revert "Harden release ZIP workflow for HACS assets" This reverts commit 615ab06ba8fc384f93bda1647f177232eb39c718. --- .github/workflows/release-asset.yml | 46 ----------------------------- hacs.json | 2 -- 2 files changed, 48 deletions(-) delete mode 100644 .github/workflows/release-asset.yml diff --git a/.github/workflows/release-asset.yml b/.github/workflows/release-asset.yml deleted file mode 100644 index 6c5dd871..00000000 --- a/.github/workflows/release-asset.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: Release ZIP Asset - -on: - release: - types: [published] - workflow_dispatch: - -permissions: - contents: write - -concurrency: - group: release-asset-${{ github.event.release.tag_name || github.ref }} - cancel-in-progress: true - -jobs: - upload-zip-asset: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v5 - - - name: Resolve archive ref - id: archive_ref - run: | - if [ -n "${{ github.event.release.tag_name }}" ]; then - echo "ref=${{ github.event.release.tag_name }}" >> "$GITHUB_OUTPUT" - else - echo "ref=$GITHUB_SHA" >> "$GITHUB_OUTPUT" - fi - - - name: Build release archive - run: | - git archive --format=zip \ - --output=pollenlevels.zip \ - "${{ steps.archive_ref.outputs.ref }}" \ - custom_components/pollenlevels - - - name: Verify ZIP structure - run: | - unzip -l pollenlevels.zip | grep -q "custom_components/pollenlevels/manifest.json" - - - name: Upload pollenlevels.zip - uses: softprops/action-gh-release@v2 - with: - files: pollenlevels.zip - tag_name: ${{ github.event.release.tag_name || github.ref_name }} diff --git a/hacs.json b/hacs.json index 0e110372..99f40769 100644 --- a/hacs.json +++ b/hacs.json @@ -2,8 +2,6 @@ "name": "Pollen Levels", "homeassistant": "2025.3.0", "content_in_root": false, - "zip_release": true, - "filename": "pollenlevels.zip", "render_readme": true, "hacs": "2.0.0" }