Raise property value by 1 in Ant builder, set pattern

in #ant7 years ago (edited)

If you want to raise the property value by 1 in the Ant builder, you can use the entry tag as shown below. You will find a variable named project.version and upload it one by one.

< entry key = "project.version" type = "int" operation = "+" default = "1" pattern = "0" />

If you do not set pattern = "0" here, basically, if the value goes beyond 1,000, you will be given a comma.
I did not insert pattern = "0" in the case of me, so the version value contains non-numeric characters, so the screen does not appear and an error occurs.

Sort:  

WARNING - The message you received from @adamson is a CONFIRMED SCAM!
DO NOT FOLLOW any instruction and DO NOT CLICK on any link in the comment!
For more information, read this post: https://steemit.com/steemit/@arcange/phishing-site-reported-steemautobot-dot-ml
Please consider to upvote this warning if you find my work to protect you and the platform valuable. Your support is welcome!