Files
inbuxa-webmail/scripts/version.d.mts
jcoffey-dev 2f90e9fbed
ci / node (pull_request) Skipped
ci / version (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 2m17s
ci / docker-build (pull_request) Skipped
ci / publish (pull_request) Skipped
ci / announce (pull_request) Skipped
Serve /.well-known/source
SOURCE_URL and the commit the build was made from, in the form
https://coffeylabs.org/specs/well-known-source/ defines, at the host's
root whatever the base path. The image build passes the commit as
INBUXA_REVISION, like the version; a clean checkout asks git. A build
that can't name its commit, or a checkout with uncommitted changes,
answers 404.
2026-10-28 21:57:33 -07:00

8 lines
446 B
TypeScript

/** Types for `version.mjs`, which is plain JS so the Dockerfile and shell can run it directly. */
export const UNVERSIONED: string;
export function readRelease(): string;
export function formatVersion(commit: { release: string; tagged?: boolean; subject?: string; sha: string }): string;
export function versionFromGit(release?: string): string | null;
export function resolveVersion(): string;
export function resolveRevision(): string | null;