From 3548793f7dba6c363bf823725ac700ea23364b9e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 10 Mar 2026 19:23:46 +0000 Subject: [PATCH 1/2] Initial plan From f779849d24edaa136b91a9b08c46271877f4da25 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 10 Mar 2026 19:25:53 +0000 Subject: [PATCH 2/2] fix: rename brands/ to brand/, remove auto-release workflow, bump to v1.2.2 Co-authored-by: Geek-MD <25725990+Geek-MD@users.noreply.github.com> --- .github/workflows/release.yml | 82 ------------------ CHANGELOG.md | 13 ++- .../{brands => brand}/icon.png | Bin .../{brands => brand}/icon@2x.png | Bin .../{brands => brand}/logo.png | Bin .../{brands => brand}/logo@2x.png | Bin .../advanced_downloader/manifest.json | 2 +- 7 files changed, 13 insertions(+), 84 deletions(-) delete mode 100644 .github/workflows/release.yml rename custom_components/advanced_downloader/{brands => brand}/icon.png (100%) rename custom_components/advanced_downloader/{brands => brand}/icon@2x.png (100%) rename custom_components/advanced_downloader/{brands => brand}/logo.png (100%) rename custom_components/advanced_downloader/{brands => brand}/logo@2x.png (100%) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 135cc84..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,82 +0,0 @@ -name: Create Release - -on: - workflow_dispatch: - push: - branches: - - main - paths: - - 'custom_components/advanced_downloader/manifest.json' - -jobs: - release: - runs-on: ubuntu-latest - permissions: - contents: write - - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Get version from manifest - id: get_version - run: | - VERSION=$(jq -r '.version' custom_components/advanced_downloader/manifest.json) - echo "version=$VERSION" >> $GITHUB_OUTPUT - echo "tag=v$VERSION" >> $GITHUB_OUTPUT - echo "Version: $VERSION" - echo "Tag: v$VERSION" - - - name: Check if tag exists - id: check_tag - run: | - git fetch --tags - if git tag -l "v${{ steps.get_version.outputs.version }}" | grep -q .; then - echo "exists=true" >> $GITHUB_OUTPUT - echo "Tag v${{ steps.get_version.outputs.version }} already exists" - else - echo "exists=false" >> $GITHUB_OUTPUT - echo "Tag v${{ steps.get_version.outputs.version }} does not exist" - fi - - - name: Generate changelog - if: steps.check_tag.outputs.exists == 'false' - id: changelog - run: | - # Get the previous tag - PREV_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "") - - if [ -z "$PREV_TAG" ]; then - echo "No previous tag found, generating full changelog" - CHANGELOG=$(git log --pretty=format:"- %s (%h)" --no-merges) - else - echo "Previous tag: $PREV_TAG" - CHANGELOG=$(git log "${PREV_TAG}..HEAD" --pretty=format:"- %s (%h)" --no-merges) - fi - - # Create changelog file - cat > CHANGELOG.md <