Releaser.HexStatus (releaser v0.0.5)

Copy Markdown View Source

Compares local app versions against published versions on Hex.

Uses mix hex.info <package> to query the Hex registry.

Summary

Functions

Checks all apps and returns their publish status.

Like check/1 but operates on an already-discovered list of apps.

Types

status()

@type status() :: :ahead | :published | :unpublished | :prerelease

Functions

check(opts \\ [])

Checks all apps and returns their publish status.

Returns a list of maps with :app, :local, :hex, and :status keys.

check_apps(apps)

Like check/1 but operates on an already-discovered list of apps.

Skips the Workspace.discover/1 call so callers (e.g. renderers) that already hold the workspace can avoid scanning mix.exs files twice.