Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VersionInformation.txt not updated after release #17

Closed
pauska opened this issue Dec 19, 2023 · 5 comments
Closed

VersionInformation.txt not updated after release #17

pauska opened this issue Dec 19, 2023 · 5 comments

Comments

@pauska
Copy link

pauska commented Dec 19, 2023

Hi,

We're using a pipeline to pull down the latest release, based on VersionInformation.txt in the dist folder. I now see that this file hasn't been updated after the last release. Should we rely on this file to pull releases?

@bb-froggy
Copy link
Member

Yes, it is still updated regularly, but there is some delay.

SCEPman loads this file to display an update hint on its homepage.

We have released version 2.6 here and therefore those SCEPman instances using GitHub for WEBSITE_RUN_FROM_PACKAGE will update automatically to this version (which is most of them), but if you install SCEPman from Azure Marketplace you will initially still get the 2.5 until it updates (which happens quickly, but still). Therefore, we didn't yet want to display the update notification; we don't want to display it to people who have a fresh SCEPman Marketplace installation. Because of the quick auto-update, we are usually a bit lazy about updating the Marketplace installation and therefore the delay updating the VersionInformation.txt. This happens every time.

Now that I know that there is someone who depends on it, I will make the team aware of it and we'll speed this up a bit :-).

For the current release, we'll publish it this week and update VersionInformation.txt accordingly.

@pauska
Copy link
Author

pauska commented Dec 20, 2023

Thanks for the explanation! We're in no rush to upgrade, I just wanted to make sure that the file gets updated at some point 👍

@pauska pauska closed this as completed Dec 20, 2023
@pauska
Copy link
Author

pauska commented Dec 21, 2023

As a request - could it be possible to include a file inside the Artifact to indicate what version it is?

@pauska pauska reopened this Dec 21, 2023
@bb-froggy
Copy link
Member

You could already take the Scepman.Server.dll and check the File version. In PowerShell, you could do it this way:

$dll = Get-Item Scepman.Server.dll
$dll.VersionInfo.ProductVersion

For Certificate Master, you can likewise use CertMaster.Web.dll.

Would that work for you? This is how SCEPman and Certificate Master know their own version, too, so this is very reliable.

@pauska
Copy link
Author

pauska commented Jan 3, 2024

Thanks, that's an excellent fix for us as we are already using PowerShell in our pipeline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants