diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 358c8819..d5a19c38 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -37,8 +37,6 @@ jobs: uses: ./.github/actions/upload-artifacts with: chain-network: ${{ inputs.chain-network }} - assets: | - zanod - simplewallet + assets: lethean-* asset-type: 'cli' asset-directory: ${{ github.workspace }}/build/gcc-linux-amd64-release/src diff --git a/.github/workflows/build-macos-arm64.yml b/.github/workflows/build-macos-arm64.yml index 15d75b10..11414e24 100644 --- a/.github/workflows/build-macos-arm64.yml +++ b/.github/workflows/build-macos-arm64.yml @@ -35,8 +35,6 @@ jobs: uses: ./.github/actions/upload-artifacts with: chain-network: ${{ inputs.chain-network }} - assets: | - zanod - simplewallet + assets: lethean-* asset-type: 'cli' asset-directory: ${{ github.workspace }}/build/apple-clang-arm64-release/src \ No newline at end of file diff --git a/.github/workflows/build-macos-intel.yml b/.github/workflows/build-macos-intel.yml index 6151daab..48383a53 100644 --- a/.github/workflows/build-macos-intel.yml +++ b/.github/workflows/build-macos-intel.yml @@ -34,8 +34,6 @@ jobs: uses: ./.github/actions/upload-artifacts with: chain-network: ${{ inputs.chain-network }} - assets: | - zanod - simplewallet + assets: lethean-* asset-type: 'cli' asset-directory: ${{ github.workspace }}/build/apple-clang-arm64-release/src diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 94514901..ca934fc9 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -34,8 +34,6 @@ jobs: uses: ./.github/actions/upload-artifacts with: chain-network: ${{ inputs.chain-network }} - assets: | - zanod.exe - simplewallet.exe + assets: lethean-* asset-type: 'cli' asset-directory: ${{ github.workspace }}/build/msvc-194-amd64-release/src/Release diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 9e081b91..4cfb615f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -178,5 +178,14 @@ ENABLE_SHARED_PCH_EXECUTABLE(simplewallet) set_property(TARGET common crypto currency_core rpc stratum wallet PROPERTY FOLDER "libs") set_property(TARGET daemon simplewallet connectivity_tool PROPERTY FOLDER "prog") -set_property(TARGET daemon PROPERTY OUTPUT_NAME "zanod") + +if (NOT TESTNET) + set_property(TARGET daemon PROPERTY OUTPUT_NAME "lethean-chain-node") + set_property(TARGET simplewallet PROPERTY OUTPUT_NAME "lethean-wallet-cli") + set_property(TARGET connectivity_tool PROPERTY OUTPUT_NAME "lethean-chain-tool") +else () + set_property(TARGET daemon PROPERTY OUTPUT_NAME "lethean-testnet-chain-node") + set_property(TARGET simplewallet PROPERTY OUTPUT_NAME "lethean-testnet-wallet-cli") + set_property(TARGET connectivity_tool PROPERTY OUTPUT_NAME "lethean-testnet-chain-tool") +endif ()