{% extends "projects_shell.html" %} {% from "_macros.html" import icon %} {% from "_release_macros.html" import release_title, release_badge %} {% block tab %}
{% set r = release %} {% if r.status == "running" %}{% endif %}

{{ release_title(r) }}

{{ release_badge(r) }} {{ r.previous_version }} → {{ r.version }} · {{ r.tag }}{% if folder %} · {{ folder.local_path | home }}{% endif %}
{% if release_error %}

{{ icon("alert") }}{{ release_error }}

{% endif %} {% if r.error %}

{{ icon("alert") }}{{ r.error }}

{% endif %} {% if r.status in ("failed", "interrupted") %}
{% if pushed %}
{% else %} Release again {% endif %} {% if r.task_id %} Handed to an agent: #{{ r.task_id }} {% else %}
{% endif %}

{% if pushed %}The tag is pushed: Retry picks up at the step that stopped.{% else %}Nothing was pushed and {{ folder.local_path | home if folder else "the folder" }} is as it was.{% endif %} {% if not r.task_id %}Handing it to an agent files a task with the error and the output.{% endif %}

{% endif %} {% if r.status == "done" %}

{{ icon("check-circle") }}Released {{ r.version }}: pushed {{ r.tag }}{% if r.commit_sha %} at {{ r.commit_sha[:7] }}{% endif %}.

{% endif %}
    {% for s in r.steps %}
  1. {{ icon("x" if s.status == "failed" else "check") }}
    {{ s.label }}{% if s.status == "skipped" %} (skipped){% endif %}
    {% if s.signin and s.status == "running" %} {% endif %} {% if s.detail or s.url %}
    {{ s.detail or "" }}{% if s.url %} · on GitHub{% endif %}
    {% endif %}
  2. {% endfor %}

Started {% if r.finished_at %}, finished {% endif %}. Release page

{% if r.log %}
Output
{{ r.log }}
{% endif %} {% if r.notes %}
Release notes
{{ r.notes }}
{% endif %}
{% endblock %}