Skip to content

ci: pin main jar name in java dry-run check - #685

Merged
kartikeya-27 merged 2 commits into
masterfrom
fix/java-dryrun-jar-glob
Aug 17, 2026
Merged

ci: pin main jar name in java dry-run check#685
kartikeya-27 merged 2 commits into
masterfrom
fix/java-dryrun-jar-glob

Conversation

@pratyush618

Copy link
Copy Markdown
Collaborator

The Java publish dry-run resolved the main jar with ls build/libs/flexiq-*[0-9].jar. Every classifier jar also ends in a digit (-linux-x86_64.jar, -osx-aarch64.jar), so the glob matched six files, $jar became the whole list, and the first unzip -p ran against a platform jar — which is not multi-release, so the check aborted under set -e.

Pins the main and sources jars by exact name and asserts each exists.

Pre-existing, not from the rename: the ambiguity arrived with the classifier jars in #510 (2026-07-24), and the last dry-run before today was 2026-06-27. Real tag pushes skip the step entirely (if: inputs.dry-run), so releases through 0.22.0 were unaffected.

@github-actions github-actions Bot added the ci label Aug 17, 2026
@kartikeya-27
kartikeya-27 merged commit 2d4d451 into master Aug 17, 2026
18 of 20 checks passed
@kartikeya-27
kartikeya-27 deleted the fix/java-dryrun-jar-glob branch August 17, 2026 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants