mirror of
https://github.com/netdata/netdata.git
synced 2025-04-27 22:26:21 +00:00
Embed CPU architecture info in Windows installer filename. (#18661)
This ensures forward-portability, because I can all but guarantee that we _will_ eventually want to publish 64-bit ARM binaries for Windows, and we will then need to differentiate between the installer files.
This commit is contained in:
parent
3a5e256fc9
commit
b052513c18
3 changed files with 4 additions and 4 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
@ -342,7 +342,8 @@ jobs:
|
||||||
endpoint: "https://eus.codesigning.azure.net/"
|
endpoint: "https://eus.codesigning.azure.net/"
|
||||||
trusted-signing-account-name: Netdata
|
trusted-signing-account-name: Netdata
|
||||||
certificate-profile-name: Netdata
|
certificate-profile-name: Netdata
|
||||||
files: ${{ github.workspace }}\packaging\windows\netdata-installer.exe
|
files-folder: ${{ github.workspace }}\packaging\windows
|
||||||
|
files-folder-filter: exe
|
||||||
file-digest: SHA256
|
file-digest: SHA256
|
||||||
timestamp-rfc3161: "http://timestamp.acs.microsoft.com"
|
timestamp-rfc3161: "http://timestamp.acs.microsoft.com"
|
||||||
timestamp-digest: SHA256
|
timestamp-digest: SHA256
|
||||||
|
@ -351,7 +352,7 @@ jobs:
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: windows-x86_64-installer
|
name: windows-x86_64-installer
|
||||||
path: packaging\windows\netdata-installer.exe
|
path: packaging\windows\netdata*.exe
|
||||||
retention-days: 30
|
retention-days: 30
|
||||||
- name: Failure Notification
|
- name: Failure Notification
|
||||||
uses: rtCamp/action-slack-notify@v2
|
uses: rtCamp/action-slack-notify@v2
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
!include "FileFunc.nsh"
|
!include "FileFunc.nsh"
|
||||||
|
|
||||||
Name "Netdata"
|
Name "Netdata"
|
||||||
Outfile "netdata-installer.exe"
|
Outfile "netdata-installer-x64.exe"
|
||||||
InstallDir "$PROGRAMFILES\Netdata"
|
InstallDir "$PROGRAMFILES\Netdata"
|
||||||
RequestExecutionLevel admin
|
RequestExecutionLevel admin
|
||||||
|
|
||||||
|
|
|
@ -58,4 +58,3 @@ NDMINORVERSION=$"$(grep 'CMAKE_PROJECT_VERSION_MINOR:STATIC' "${build}/CMakeCach
|
||||||
|
|
||||||
/mingw64/bin/makensis.exe -DCURRVERSION="${NDVERSION}" -DMAJORVERSION="${NDMAJORVERSION}" -DMINORVERSION="${NDMINORVERSION}" "${repo_root}/packaging/windows/installer.nsi"
|
/mingw64/bin/makensis.exe -DCURRVERSION="${NDVERSION}" -DMAJORVERSION="${NDMAJORVERSION}" -DMINORVERSION="${NDMINORVERSION}" "${repo_root}/packaging/windows/installer.nsi"
|
||||||
${GITHUB_ACTIONS+echo "::endgroup::"}
|
${GITHUB_ACTIONS+echo "::endgroup::"}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue