Skip to content

fix: build snapshot deploys against the newest snapshots of their dependencies - #14

Open
golsch wants to merge 1 commit into
mainfrom
update-snapshots
Open

golsch wants to merge 1 commit into
mainfrom
update-snapshots

Conversation

@golsch

@golsch golsch commented Dec 4, 2026

Copy link
Copy Markdown
Member

Snapshot deploys started by dispatch-downstream, e.g. mir after a mycore deploy, could build against the previous upstream snapshot: Maven checks a snapshot only once a day, and the Maven cache restored by setup-java can hold a check from less than a day ago. The checks, versions:set and the build of maven-deploy.yml now run with --update-snapshots, which also covers a parent snapshot like mycore-parent 60-SNAPSHOT on mycore main. The snapshot metadata of Central is not cached by Cloudflare (cf-cache-status: DYNAMIC), so a dispatched build sees the new snapshot right away.

Not tested in a run yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant