---
metadata:
    name: "Beet Mover Manifest"
    description: "Maps artifact locations to s3 key names for the en-US locale"
    owner: "release@mozilla.com"

mapping:
{% for locale in locales %}
  {{ locale }}:
  {% if platform == "win32" %}
    complete_mar:
      artifact: {{ artifact_base_url }}/target.complete.mar
      s3_key: {{ s3_prefix }}update/{{ platform }}/{{ locale }}/firefox-{{ version }}.complete.mar
    full_installer:
      artifact: {{ artifact_base_url }}/target.installer.exe
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/Firefox Setup {{ version }}.exe
    {% if "esr" not in version %}
    stub_installer:
      artifact: {{ artifact_base_url }}/target.stub-installer.exe
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/Firefox Installer.exe
    {% endif %}
  {% elif platform == "win64" %}
    complete_mar:
      artifact: {{ artifact_base_url }}/target.complete.mar
      s3_key: {{ s3_prefix }}update/{{ platform }}/{{ locale }}/firefox-{{ version }}.complete.mar
    full_installer:
      artifact: {{ artifact_base_url }}/target.installer.exe
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/Firefox Setup {{ version }}.exe
  {% else %}
    complete_mar:
      artifact: {{ artifact_base_url }}/target.complete.mar
      s3_key: {{ s3_prefix }}update/{{ platform }}/{{ locale }}/firefox-{{ version }}.complete.mar
  {% endif %}

{% endfor %}
