Commit ffa8a4a
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 outputs in target/ from step 1; step 2
re-enters the lifecycle without a clean, which can leave artifact
bytes out of sync with the .asc files produced by gpg:sign.
beast3's multi-module build has no maven-assembly-plugin, so the jar/
sources/javadoc artifacts have been deterministic enough that
v2.8.0-beta5 published successfully. The bug is latent and caused
v1.3.0-beta1 of FLC to fail with 'Invalid signature' on the assembly
zip and the sources and javadoc jars. Fix preventively here.
Changes:
- gate 'Build and test' to non-tag pushes (the deploy step now runs
the full lifecycle including tests)
- replace 'mvn deploy -Prelease -DskipTests' with 'mvn -Prelease clean
deploy' so the release runs from a clean target/
The master-push GitHub Packages deploy is unchanged: snapshots are
unsigned, so byte-mismatch is not a concern there.1 parent 5f6de16 commit ffa8a4a
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
64 | | - | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
0 commit comments