{% extends "projects/base.html" %} {% import "site_shell/_macros.html" as ui %} {% block title %}{{ template.name }} - Release Templates - {{ project.name }}{% endblock %} {% block content %}
{% if can_manage %} {{ ui.icon("edit") }} Edit {% endif %} {% if can_delete %}
{% endif %}
{% if can_create_release %}

Create a release

Starts a draft release with this template's channel, repositories, pipeline and schedule.

{{ ui.field_error(release_errors, 'version') }}

A semantic version (major.minor.patch){% if template.version_pattern %} that matches {{ template.version_pattern }}{% endif %}.

{% endif %}

Defaults

Default Channel{{ template.default_channel or '—' }}
Version Pattern{{ template.version_pattern or '—' }}
Default repositories {% if template.default_repo_ids|length > 0 %} {% for repo_id in template.default_repo_ids %}{{ repository_names[repo_id] if repository_names is defined and repo_id in repository_names else "Repository #" ~ repo_id }}{% if not loop.last %}, {% endif %}{% endfor %} {% else %}—{% endif %}
Created{{ template.created_at | format_datetime('%Y-%m-%d %H:%M', '') }}
Updated{{ template.updated_at | format_datetime('%Y-%m-%d %H:%M', '') }}

Default Pipeline

{% if default_pipeline_json %}
{{ default_pipeline_json }}
{% else %}

No default pipeline configured.

{% endif %}

Default Schedule

{% if default_schedule_json %}
{{ default_schedule_json }}
{% else %}

No default schedule configured.

{% endif %}
{% endblock %}