From d2af058bec81ada7771801999f4c0045b2a71964 Mon Sep 17 00:00:00 2001 From: "hinto.janai" Date: Wed, 9 Apr 2025 10:49:14 -0400 Subject: [PATCH] gen config --- .github/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0400e23d7..1f0b032e2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -61,7 +61,11 @@ jobs: # All archives have these files. cp LICENSE-AGPL target/release/LICENSE - cp binaries/cuprated/config/Cuprated.toml target/release/ + if [ "$RUNNER_OS" == "Windows" ]; then + target/release/cuprated.exe --generate-config > target/release/Cuprated.toml + else + target/release/cuprated --generate-config > target/release/Cuprated.toml + fi OS=${{ matrix.os }}