@extends('layouts.admin') @section('title', $version->exists ? 'Edit Version' : 'New Version') @section('heading', $version->exists ? 'Edit Version v'.$version->version : 'New Version') @section('content')
@csrf @if ($version->exists) @method('PUT') @endif @php $f = fn($n, $d = null) => old($n, $version->$n ?? $d); @endphp

An installation only ever receives releases of the product it asks for.

Markdown. Group into New Features / Improvements / Bug Fixes / Security Fixes / Database Changes.

@if ($version->exists && $version->hasPackage())
Current: {{ $version->downloadName() }} ยท {{ number_format($version->file_size / 1048576, 1) }} MB
sha256: {{ $version->checksum_sha256 }}
@endif

The SHA-256 checksum and size are computed automatically on upload. Max {{ config('updates.max_package_mb') }} MB.

Cancel
@endsection