types icon indicating copy to clipboard operation
types copied to clipboard

🦺 Validation of project's version

Open LVMVRQUXL opened this issue 1 year ago • 0 comments

📝 Description

The project's version being used in several scripts and Gradle tasks, we would like to validate it during the project's configuration with Gradle.

The project's version should match the following regular expression: ^\d+\.\d+\.\d+(?:-SNAPSHOT)?$. Here are examples of valid and invalid project's versions:

// Valid
1.0.0
1.0.0-SNAPSHOT

// Invalid
1
1.
1.0
1.0.
1.0.0-

✅ Checklist

  • [ ] Validate project's version in the configuration step using Gradle.

LVMVRQUXL avatar Mar 15 '24 11:03 LVMVRQUXL