Development and releases
Run these commands from the repository root. Building requires Swift 6.1 or a newer Swift 6 release.
Install just and
SwiftLint, then run:
just lintjust testjust buildCreate a release archive
Section titled “Create a release archive”Build and verify the universal archive locally:
just package-releaseThe command writes these files to dist/:
relay-server-macos-universal.tar.gzrelay-server-macos-universal.tar.gz.sha256
The packaging script checks the binary version, architectures, ad hoc
signature, archive contents, and checksum. Pass a version to require it to
match packageVersion:
just package-release 0.1.0Pushing a matching tag, such as v0.1.0, runs the same packaging script and
publishes both files to a GitHub release. Run the Release workflow manually to
build the artifacts without publishing a release.