0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-14 09:38:34 +00:00

Embed CPU architecture info in Windows installer filename. ()

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:
Austin S. Hemmelgarn 2024-10-04 06:54:57 -04:00 committed by GitHub
parent 3a5e256fc9
commit b052513c18
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions
.github/workflows
packaging/windows

View file

@ -342,7 +342,8 @@ jobs:
endpoint: "https://eus.codesigning.azure.net/"
trusted-signing-account-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
timestamp-rfc3161: "http://timestamp.acs.microsoft.com"
timestamp-digest: SHA256
@ -351,7 +352,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: windows-x86_64-installer
path: packaging\windows\netdata-installer.exe
path: packaging\windows\netdata*.exe
retention-days: 30
- name: Failure Notification
uses: rtCamp/action-slack-notify@v2

View file

@ -3,7 +3,7 @@
!include "FileFunc.nsh"
Name "Netdata"
Outfile "netdata-installer.exe"
Outfile "netdata-installer-x64.exe"
InstallDir "$PROGRAMFILES\Netdata"
RequestExecutionLevel admin

View file

@ -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"
${GITHUB_ACTIONS+echo "::endgroup::"}