packages/V2 API : limitation on PackageVersion

LR
Laurent Riffard
EHTRACE SAS

Hello,

Using API packages/V2 works fine but setting "PackageVersion" in payload seems to have limitations in naming. Some like 2.3.0-SNAPSHOT-1, 2.3.0S123456, 2.3.123456789012 fails with same error:

{ "$type": "ErrorDetails", "ErrorCode": 0, "Message": "Impossible de créer un nouveau package.", "Data": [ "La version du paquet contient des caractères non valides." ], "HelpLink": null }

On console, when uploading a pcg built with name like 2.3.0-SNAPSHOT-1, it works fine and name is ok. 

Why this limitation ? Could it be removed ?

And, what is the rule for naming? a regex ?

Thanks for your help 

2 years ago
Android
ANSWERS