[JAVA-2903] Add deploy-time check for valid git version Created: 05/Jul/18 Updated: 28/Oct/23 Resolved: 16/Aug/18 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 3.8.1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Ross Lawley |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
The deployment step in the build, where the jar files are copied to Sonatype, should first check that the build version (derived from git describe matches the project version (from build.gradle), e.g. if the project version is 3.8.0-beta3, then the build version must also be 3.8.0-beta3. This will prevent accidentally deploying to Sonatype from a git tree that is not identical to the tagged version. |
| Comments |
| Comment by Githook User [ 17/Aug/18 ] |
|
Author: {'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}Message: Added publishArchives version checking task
|
| Comment by Githook User [ 16/Aug/18 ] |
|
Author: {'username': 'rozza', 'email': 'ross.lawley@gmail.com', 'name': 'Ross Lawley'}Message: Added publishArchives version checking task
|
| Comment by Ross Lawley [ 15/Aug/18 ] |