Skip to content

don't die if last commit has been squashed away - #9

Merged
MiniDigger merged 2 commits into
mainfrom
fix-changelog
Jul 3, 2026
Merged

don't die if last commit has been squashed away#9
MiniDigger merged 2 commits into
mainfrom
fix-changelog

Conversation

@MiniDigger

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves the publish task’s resiliency when the previously recorded build commit is no longer available locally (e.g., history rewritten/squashed), while also updating Gradle/tooling and library versions.

Changes:

  • Add a fallback path for changelog generation when the previous build commit can’t be loaded.
  • Bump Gradle wrapper + toolchain resolver plugin and update several dependency versions.
  • Minor build script dependency notation change and .gitignore update.

Reviewed changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/main/java/io/papermc/fill/gradle/task/PublishToFillTask.java Adds a MissingObjectException fallback for changelog computation and updates warning logging.
settings.gradle.kts Updates Foojay toolchains resolver convention plugin version.
gradle/wrapper/gradle-wrapper.properties Updates Gradle wrapper distribution URL to a newer Gradle version.
gradle/libs.versions.toml Bumps multiple library/plugin versions (Jackson, JUnit, Guava, plugin-publish, JGit).
build.gradle.kts Switches testRuntimeOnly dependency notation to a single GAV string.
.gitignore Adds an Eclipse ignore block (currently duplicated).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/main/java/io/papermc/fill/gradle/task/PublishToFillTask.java
Comment thread src/main/java/io/papermc/fill/gradle/task/PublishToFillTask.java
@MiniDigger
MiniDigger merged commit a2ec437 into main Jul 3, 2026
2 checks passed
@MiniDigger
MiniDigger deleted the fix-changelog branch July 3, 2026 18:46
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.

2 participants