Flutter
Flutter

Reputation: 93

Azure DevOps: Can't set ':' symbol into BuildNumber field

Triyng to set Build number format in the build options page, but getting error, that ':' character is not allowed. Is there something new about build variables, or it's just a bug?

screenshot

Upvotes: 0

Views: 68

Answers (2)

Leo Liu
Leo Liu

Reputation: 76928

Is there something new about build variables, or it's just a bug?

You should use $(Date:yyyyMMdd) instead of ($Date:yyyyMMdd).

The dollar sign $ should be outside the brackets. You may not notice this small spelling mistake.

enter image description here

Check the document Build number format for some more details:

enter image description here

Hope this helps

Upvotes: 0

4c74356b41
4c74356b41

Reputation: 72191

well, the error clearly says : is forbidden from the UI. so its a UI limitation

Upvotes: 1

Related Questions