Commit 51c6f70
ci: Publish snapshot builds to Maven Central (#1107)
* ci: Publish snapshot builds to Maven Central on push to main
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>
* ci: Disable cancel-in-progress for snapshot publishing
Cancelling a running publish can leave the Maven snapshot repository
in an inconsistent state (e.g. partial artifacts or mismatched plugin
versions between the Gradle Plugin and Kotlin Compiler Plugin).
Queuing instead ensures each publish completes atomically.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Update .github/workflows/publish-snapshot.yml
Co-authored-by: Burak Yigit Kaya <byk@sentry.io>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Burak Yigit Kaya <byk@sentry.io>1 parent 5f8168f commit 51c6f70
File tree
3 files changed
+75
-0
lines changed- .github/workflows
- plugin-build
- sentry-kotlin-compiler-plugin
3 files changed
+75
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
76 | 84 | | |
77 | 85 | | |
78 | 86 | | |
| |||
0 commit comments