{pluginId ? 'GitHub releases' : 'Import from GitHub'}

Choose a release and DLL, then test it with your fleet.

{#if pluginId}{/if}
{#if checking}

Checking GitHub…

{/if} {#if update?.source}

Following {update.source.repository} · {update.source.asset_name}

{/if} {#if update?.status === 'available' && update.release}
New release: {update.release.tag}
{:else if update?.status === 'imported' && update.release}
{update.release.tag} is already imported and available for testing.
{:else if update?.status === 'current'}

The latest stable release is promoted.

{:else if update?.status === 'ahead'}

Your imported release is newer than GitHub’s latest stable release.

{:else if update?.status === 'error'} {:else if update?.status === 'untracked'}

Import a release below to track updates for this plugin.

{/if}
{#if disabled}

Finish the running beta before importing a release.

{/if} {#if release}

{release.name || release.tag}

{release.prerelease ? 'Prerelease' : 'Release'} · {release.tag}

View on GitHub ↗ · Published {new Date(release.publishedAt).toLocaleDateString()}

Release notes
{release.notes || 'No release notes provided.'}
{#if release.assets.length === 0}

No importable DLL assets found. Choose another release or upload a DLL manually. Direct DLL assets up to 64 MB are supported.

{:else}
{#if !pluginId} {/if}
{#if targetPath}

New versions deploy to {targetPath}.

{/if}

Imports are saved for testing. Choose servers and a test plan before starting a beta.

{/if}
{/if} {#if success}
{success.alreadyImported ? 'This binary is already imported.' : 'Release imported.'} View plugin · Start beta SHA-256: {success.sha256}
{/if} {#if error}{/if}