Commit cc41470
committed
ci(publish): gate Maven Central release behind explicit publish_release flag
Add a workflow_dispatch boolean input 'publish_release' (default false) and
require it on the publish-release job in addition to the existing v* tag
guard. A v* tag push alone no longer auto-publishes to Maven Central;
releasing now requires running the Publish workflow on the v* tag with
publish_release enabled (tag AND flag). publish-snapshot is unchanged.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JGZdUCy6YnTzKSJKA6B6KZ1 parent 91d9799 commit cc41470
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
13 | 18 | | |
14 | 19 | | |
15 | 20 | | |
| |||
945 | 950 | | |
946 | 951 | | |
947 | 952 | | |
948 | | - | |
| 953 | + | |
949 | 954 | | |
950 | 955 | | |
951 | 956 | | |
| |||
0 commit comments