From 2aa8756c9476b3a7935e1d529b50aac19db16cd7 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Tue, 23 May 2023 17:44:00 -0700 Subject: [PATCH] chore(docs): update release doc to call out single-arch builds --- docs/Release.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/Release.md b/docs/Release.md index 807a5a657..395107eb0 100644 --- a/docs/Release.md +++ b/docs/Release.md @@ -13,12 +13,26 @@ The original Docker Hub image was [gabekangas/owncast](https://hub.docker.com/re 1. Create the release archive files for all the different architectures. Specify the human readable version number in the `version` flag such as `v0.1.0`, `nightly`, `develop`, etc. It will be used to identify this binary when running Owncast. You'll find the archives for this release in the `dist` directory when it's complete. - **Run**: `earthly +package-all --version="v0.1.0"` +**Run**: + +```bash +earthly +package-all --version="v0.1.0" +``` 2. Create a release on GitHub with release notes and Changelog for the version. 3. Upload the release archive files to the release on GitHub via the web interface. +### Tip: For releasing only a single architecture + +If you require building only a single architecture you can save some time by specifying the architecture you want to build. For example, if you only want to build the 64bit amd64 Linux version you can run: + +**Run**: + +```bash +earthly +package --platform="linux/amd64" +``` + ## Build and upload Docker images Specify the human readable version number in the `version` flag such as `v0.1.0`, `nightly`, `develop`, etc. It will be used to identify this binary when running Owncast.