autopkg / novaksam-recipes

JSS Autopkg recipes
Apache License 2.0
12 stars 23 forks source link

Adobe Acrobat/Reader - Set the real version string to %version% #99

Closed MLBZ521 closed 12 months ago

MLBZ521 commented 12 months ago

In commit 64d46f3, PR #78, the value used for the AutoPkg %version% variable was changed. This resulted in the %version% variable having a value similar to 2300620320 instead of the normally expected 23.006.20320 version string. Which results in a package name of Adobe Acrobat DC-2300620320.pkg.

This PR reverts this to the commonly expected version string format so that the created package also results in the commonly expected name format.

That said, in case someone wants a version string in the format of 2300620320, I have made that available via the variable %versioncode%.

MLBZ521 commented 12 months ago

Without the proper version string, it's not possible to use something like Graham's VersionRegexGenerator Processor.

MLBZ521 commented 12 months ago

Thanks!