Skip to content

Commit 072de31

Browse files
committed
Rename output file
1 parent 2c30a74 commit 072de31

7 files changed

Lines changed: 16 additions & 14 deletions

File tree

.github/actions/build/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ runs:
3939
with:
4040
name: ${{ inputs.artifact-name }}
4141
path: |
42-
${{inputs.sln-path}}/${{inputs.build-config}}/cncnet5.dll
43-
${{inputs.sln-path}}/${{inputs.build-config}}/cncnet5.pdb
42+
${{inputs.sln-path}}/${{inputs.build-config}}/CnCNet-Spawner.dll
43+
${{inputs.sln-path}}/${{inputs.build-config}}/CnCNet-Spawner.pdb
4444
./LICENSE.md
4545
./README.md

.github/workflows/pr-nightly-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
env:
77
SOLUTION_PATH: .
88
BUILD_CONFIGURATION: DevBuild
9-
ARTIFACT_NAME: cncnet5_${{ github.ref_name }}.zip
9+
ARTIFACT_NAME: CnCNet-Spawner_${{ github.ref_name }}.zip
1010

1111
jobs:
1212
build:

.github/workflows/release-build.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
env:
99
RELEASE_NAME: ${{ github.ref_name }}
10-
ARTIFACT_NAME: cncnet5_${{ github.ref_name }}.zip
10+
ARTIFACT_NAME: CnCNet-Spawner_${{ github.ref_name }}
1111

1212
SOLUTION_PATH: .
1313
BUILD_CONFIGURATION: Release
@@ -41,14 +41,15 @@ jobs:
4141
mkdir ./artifact/Regular
4242
copy ./LICENSE.md ./artifact/Regular/LICENSE.md
4343
copy ./README.md ./artifact/Regular/README.md
44-
copy ./${{ env.BUILD_CONFIGURATION }}/cncnet5.pdb ./artifact/Regular/cncnet5.pdb
45-
copy ./${{ env.BUILD_CONFIGURATION }}/cncnet5.dll ./artifact/Regular/cncnet5.dll
44+
copy ./${{ env.BUILD_CONFIGURATION }}/CnCNet-Spawner.pdb ./artifact/Regular/CnCNet-Spawner.pdb
45+
copy ./${{ env.BUILD_CONFIGURATION }}/CnCNet-Spawner.dll ./artifact/Regular/CnCNet-Spawner.dll
46+
7z a ${{ env.ARTIFACT_NAME }}.zip ./artifact/Regular/*
4647
mkdir ./artifact/HardEnd
4748
copy ./LICENSE.md ./artifact/HardEnd/LICENSE.md
4849
copy ./README.md ./artifact/HardEnd/README.md
49-
copy "./${{ env.BUILD_CONFIGURATION }}-HardEnd/cncnet5.pdb" ./artifact/HardEnd/cncnet5.pdb
50-
copy "./${{ env.BUILD_CONFIGURATION }}-HardEnd/cncnet5.dll" ./artifact/HardEnd/cncnet5.dll
51-
7z a ${{ env.ARTIFACT_NAME }} ./artifact/*
50+
copy "./${{ env.BUILD_CONFIGURATION }}-HardEnd/CnCNet-Spawner.pdb" ./artifact/HardEnd/CnCNet-Spawner.pdb
51+
copy "./${{ env.BUILD_CONFIGURATION }}-HardEnd/CnCNet-Spawner.dll" ./artifact/HardEnd/CnCNet-Spawner.dll
52+
7z a ${{ env.ARTIFACT_NAME }}-HardEnd.zip ./artifact/HardEnd/*
5253
5354
- name: Upload New Release
5455
uses: softprops/action-gh-release@v2
@@ -59,7 +60,8 @@ jobs:
5960
append_body: true
6061
draft: true
6162
files: |
62-
${{ env.ARTIFACT_NAME }}
63+
${{ env.ARTIFACT_NAME }}.zip
64+
${{ env.ARTIFACT_NAME }}-HardEnd.zip
6365
6466
request-anti-cheat-build:
6567
needs: [build]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Building manually
1111
- in Visual Studio: open the solution file in VS and build it (`Debug` build config is recommended);
1212
- in VSCode: open the project folder and hit `Run Build Task...` (`Ctrl + Shift + B`);
1313
- barebones: run `scripts/build_debug.bat`.
14-
4. Upon build completion the resulting `cncnet5.dll` and `cncnet5.pdb` would be placed in the subfolder identical to the name of the build config executed.
14+
4. Upon build completion the resulting `CnCNet-Spawner.dll` and `CnCNet-Spawner.pdb` would be placed in the subfolder identical to the name of the build config executed.
1515

1616
Credits
1717
-------

Spawner.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup Label="Globals">
4-
<ProjectName>cncnet5</ProjectName>
4+
<ProjectName>CnCNet-Spawner</ProjectName>
55
<RootNamespace>YRpp-Spawner</RootNamespace>
66
<ProjectGuid>{264BD0D2-4BF7-4CFF-B33E-95A018BEA951}</ProjectGuid>
77
<VCProjectVersion>15.0</VCProjectVersion>

src/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#endif
3030

3131
#define PRODUCT_NAME "YRpp-Spawner " PRODUCT_TYPE
32-
#define FILE_DESCRIPTION "CnCNet5: Spawner " PRODUCT_TYPE
32+
#define FILE_DESCRIPTION "CnCNet-Spawner: " PRODUCT_TYPE
3333

3434
// Nightly defines GIT_COMMIT and GIT_BRANCH in GH Actions
3535

src/version.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ BEGIN
2626
VALUE "FileVersion", FILE_VERSION_STR "\0"
2727
VALUE "ProductVersion", PRODUCT_VERSION "\0"
2828
VALUE "InternalName", PRODUCT_NAME "\0"
29-
VALUE "OriginalFilename", "cncnet5.dll\0"
29+
VALUE "OriginalFilename", "CnCNet-Spawner.dll\0"
3030
VALUE "LegalTrademarks", "Command & Conquer is a trademark of Westwood Studios\0"
3131

3232
#ifndef IS_RELEASE_VER

0 commit comments

Comments
 (0)