Bundle translation in my custom card using HACS

Hello there,

I'm creating a custom card and it is meant to be HACS ready.

My file structure is

repo/
├── hacs.json
├── manifest.json
├── dist/
│   ├── shutter-new.js
│   └── translations/
│       ├── en.json
│       └── fr.json
└── README.md

But my translations are not downloaded by HACS
Of course I suspect my hacs.json file to be wrong and I searched with Google then full of despair I asked multiple AI but nothing is working

Here is my hacs.json

{
  "name": "Roller Shutter Controller",
  "content_in_root": false,
  "filename": "shutter-new.js",
  "homeassistant": "2025.1.0",
  "render_readme": true,
  "country": ["BE"],
  "archive_link": false,
  "zip_release": false
}

What I tried so far:

  1. Remove filename
  2. Add "translations: "translations"
  3. Add "type": "plugin", "frontend": true
  4. Add "type": "lovelace"
  5. Add "single_file": false

Can someone please help? I don't want to embed the translation in the .js so the community can contribute to the translations

I've found my way maybe not the best (no zip and a release without asset, just tag)
hacs.json

{
  "name": "Roller Shutter Controller",
  "homeassistant": "2025.1.0",
  "render_readme": true
}

And a workflow to create the tag

name: Create Release

on:
  push:
    branches: [main, master]
  workflow_dispatch:

jobs:
  release:
    runs-on: ubuntu-latest
    permissions:
      contents: write
    steps:
      - uses: actions/checkout@v4

      - name: Read version from manifest
        id: version
        run: |
          VERSION=$(grep '"version"' manifest.json | head -1 | sed 's/.*"version": "\([^"]*\)".*/\1/')
          echo "version=$VERSION" >> $GITHUB_OUTPUT

      - name: Create Release
        uses: softprops/action-gh-release@v1
        with:
          tag_name: ${{ steps.version.outputs.version }}
          prerelease: false
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}