Commit a13e75b
committed
ci: clean-deploy on tag and skip redundant verify
The two-step 'mvn verify' then 'mvn deploy -Prelease -DskipTests' on
tag pushes leaves unsigned package outputs in target/ from step 1;
step 2 re-enters the lifecycle without a clean, leaving artifact
bytes out of sync with the .asc files produced by gpg:sign.
Caused FLC v1.3.0-beta1 to fail Sonatype publish with 'Invalid
signature' on the assembly zip and the sources and javadoc jars.
Same fix verified on CompEvol/morph-models v1.3.0-beta3.
Changes:
- gate 'Build and test' to non-tag pushes
- replace 'mvn deploy -Prelease -DskipTests' with 'mvn -Prelease clean
deploy' so the release runs from a clean target/1 parent 5fbf17b commit a13e75b
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
51 | | - | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
0 commit comments