Skip to content

ci: Publish snapshot builds to Maven Central#1107

Draft
runningcode wants to merge 1 commit intomainfrom
no/publish-snapshots
Draft

ci: Publish snapshot builds to Maven Central#1107
runningcode wants to merge 1 commit intomainfrom
no/publish-snapshots

Conversation

@runningcode
Copy link
Contributor

Summary

  • Adds a mavenCentralSnapshots Maven repository to both plugin-build and sentry-kotlin-compiler-plugin build files
  • Adds a new GitHub Actions workflow (.github/workflows/publish-snapshot.yml) that publishes -SNAPSHOT versions of both plugins on every push to main
  • Snapshot flow is completely independent from the existing craft-based release process

Pre-requisite

Snapshots must be enabled for the io.sentry namespace in the Sonatype Central Portal under Namespaces (one-time manual step).

🤖 Generated with Claude Code

Add a `mavenCentralSnapshots` repository to both plugin-build and
sentry-kotlin-compiler-plugin build files, and a new GitHub Actions
workflow that publishes `-SNAPSHOT` versions on every push to main.

This gives consumers early access to unreleased changes without
waiting for a formal release. The snapshot flow is completely
independent from the existing craft-based release process.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Contributor

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

  • (snapshots) Wire VCS extension to snapshots upload task by runningcode in #1102

Internal Changes 🔧

  • (deps) Update CLI to v3.3.3 by github-actions in #1101
  • Publish snapshot builds to Maven Central by runningcode in #1107

🤖 This preview updates automatically when you update the PR.

@romtsn
Copy link
Member

romtsn commented Mar 16, 2026

not opposed to this, but not sure if there's a company-wide rule not to publish snapshots (don't think we do that for any of our repos). Maybe @BYK knows?

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