ci: fix release.yml ()

gen config
This commit is contained in:
hinto-janai 2025-04-09 11:01:19 -04:00 committed by GitHub
parent b169557ff2
commit 95aca1d4a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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