Closed g-bougard closed 1 year ago
This is a solution to answer glpi-project/glpi-agentmonitor#4
Hi @g-bougard
This is great, thank you!
But just one thing: should we really append the version to PRODUCTNAME
? As it is already present on PRODUCTVERSION
...
Tested again setting 1.0.1-build-test-3
as tag following your comment from the discussion: https://github.com/glpi-project/glpi-agentmonitor/actions/runs/4992716531
The only difference is my build includes the code signing step.
Everything seems okay, the draft release is also good.
There's still an issue with x86 version on VirusTotal, still a malicious false positive from DeepInstinct. This morning I tried to contact them to alert them of the problem. I really don't know if this can help as they don't have publicly communicated on how to report false positive cases.
But just one thing: should we really append the version to
PRODUCTNAME
? As it is already present onPRODUCTVERSION
...
The version is not added to PRODUCTNAME, only the part from the tag behind the first -
char. For example, in my test, I set tag to 1.0.1-build-test-3
, so PRODUCTNAME is set to GLPI Agent Monitor (build-test-3)
. For normal release there won't be anything added. This is just cosmetic but this is the best way I know to have a difference between a binary built by 1.0.1-build-test-3
tag & one built by 1.0.1-build-test-4
tag.
Here is the result for the file details in windows of my test:
Ahh, I'm sorry, I didn't notice it was just the -
part. I agree, this is a good way to separate the built binaries.
Thanks for the contribution, @g-bougard!
The tag must match the following pattern: MAJOR.MINOR.REV(-ANY_DESIRED_TAG)