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 }}