The version property in au3pm.json may not be needed with normal official au3pm repository usage.
It should not be removed, as it could serve for unofficial repositories that may manage package versions differently.
A solution would be to make if optional in the package manager and default the value to empty string or null.
This would allow it to be set if desired, but would prevent situations where the version number in the au3pm.json file would not match the version registered to that SHA1 hash on the repository.
Admittedly the repo bot could do a check and throw an error but that may just be a nuisance and would also not solve the same issue via Github releases.
The
versionproperty inau3pm.jsonmay not be needed with normal official au3pm repository usage.It should not be removed, as it could serve for unofficial repositories that may manage package versions differently.
A solution would be to make if optional in the package manager and default the value to empty string or null.
This would allow it to be set if desired, but would prevent situations where the version number in the
au3pm.jsonfile would not match the version registered to thatSHA1hash on the repository.Admittedly the repo bot could do a check and throw an error but that may just be a nuisance and would also not solve the same issue via Github releases.