Skip to content

Conversation

@bevzzz
Copy link
Collaborator

@bevzzz bevzzz commented Aug 22, 2025

With this PR we will release a new SNAPSHOT version of client6 every time a PR that targets v6 gets merged. This will shorted the feedback loop and help us unblock our early adopters sooner.

To make debugging issues with SNAPSHOT releases easier we will also include build info in the release using git-commit-id-plugin, which generates a simple ".properties" file we can read at runtime.

import io.weaviate.client6.v1.internal.BuildInfo;

System.out.println(BuildInfo.BRANCH);
System.out.println(BuildInfo.COMMIT_ID);
System.out.println(BuildInfo.COMMIT_ID_ABBREV);

There's also a shortcut for printing the key info here:

import io.weaviate.client6.v1.internal.Debug;

Debug.printBuildInfo();
// Outputs:
//   [io.weaviate.client6.v1.internal.BuildInfo] branch=<branch> commit_id=<commit_id_abbrev>

Our Maven Central Publishing repository where we do our staging also acts as the SNAPSHOT repository.

We will continue to create Github Releases only when a new tag is pushed.

@bevzzz bevzzz requested a review from antas-marcin August 22, 2025 08:50
@bevzzz bevzzz self-assigned this Aug 22, 2025
@bevzzz bevzzz requested a review from a team as a code owner August 22, 2025 08:50
Copy link

@orca-security-eu orca-security-eu bot left a comment

Choose a reason for hiding this comment

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

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca

bevzzz added 3 commits August 22, 2025 13:02
Replaced git-commit-id-maven-plugin with an better-maintained mirror.
The original packaged lacked native Git support, which would impede
the plugin if git-worktrees were used.
Use CI-friendly git path (/usr/bin/git) just in case it's not
in the GH runner's PATH.
@bevzzz bevzzz merged commit d7b7ab5 into v6 Aug 26, 2025
2 checks passed
@bevzzz bevzzz deleted the v6-SNAPSHOT branch August 26, 2025 07:21
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.

3 participants