Commit 402e05e
committed
Use short commit hash instead of -SNAPSHOT in snapshot versions
Replaces the default -SNAPSHOT suffix with -<7-char commit hash> for
snapshot builds (e.g. 0.1.0-abc1234). Release versions from tags are
unchanged. The version assignment is moved after the scmVersion block
so the custom snapshotCreator is applied.1 parent e74aac0 commit 402e05e
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
| 69 | + | |
| 70 | + | |
67 | 71 | | |
68 | 72 | | |
69 | 73 | | |
| |||
0 commit comments