From ddb6361b8b09f65fce1e17c2cd28ba61485b21ab Mon Sep 17 00:00:00 2001 From: Kenneth Bingham Date: Mon, 27 Nov 2023 22:29:00 -0500 Subject: [PATCH 1/2] clarify how files in nfpm are used --- nfpm/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nfpm/README.md b/nfpm/README.md index e3bc8d0f..c7fc69d5 100644 --- a/nfpm/README.md +++ b/nfpm/README.md @@ -1,4 +1,4 @@ # nfpm supporting files -These files are sourced by nfpm when invoked by goreleaser to build Linux packages, and by the Docker BuildKit build to build Docker release images. +These files are sourced by nfpm when invoked by goreleaser to build Linux packages, and by BuildKit when building the Docker images. From 50a72d19cd945b5e10aaf90f474d08a04a9c7662 Mon Sep 17 00:00:00 2001 From: Kenneth Bingham Date: Mon, 27 Nov 2023 22:53:03 -0500 Subject: [PATCH 2/2] constrain javascript os matches to available tabs --- website/src/theme/OsTabs/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/src/theme/OsTabs/index.js b/website/src/theme/OsTabs/index.js index a77dedfa..46f18219 100644 --- a/website/src/theme/OsTabs/index.js +++ b/website/src/theme/OsTabs/index.js @@ -7,11 +7,11 @@ function OsTabs(props) { useEffect(() => { // Based on the OS or any other client-side condition, set the default value - const tabs = ['iOS', 'Android', 'Mac OS', 'Windows', 'Linux'] + const tabs = ['Mac OS', 'Windows', 'Linux'] if (tabs.includes(osName)) { setDefaultValue(osName); } else { - setDefaultValue('Windows'); + setDefaultValue('Linux'); } }, []); // The empty dependency array ensures this runs once after component mount