diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index cfd9813..e1df9f8 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -1,9 +1,14 @@ name: Rust -# Manual only. Nothing here runs on a push or a pull request: the gate is the -# one an author runs locally before asking for review, and a green tick that -# nobody asked for teaches people to stop reading it. +# No pull request trigger: the gate is the one an author runs locally before +# asking for review, and a tick that arrives unasked is a tick people stop +# reading. Master is different. The publish job below is gated on +# `github.event_name == 'push'` and reads `github.event.before` to diff +# Cargo.toml, so a push to master is the release mechanism and removing it +# silently stops releases rather than making anything manual. on: + push: + branches: [ "master" ] workflow_dispatch: env: diff --git a/Cargo.toml b/Cargo.toml index d8b54cb..e3b4720 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "endpoint-libs" -version = "3.1.0" +version = "3.1.1" edition = "2024" authors = ["Veon "] description = "Launch MCP services fast: describe endpoints once in RON, and endpoint-gen generates the Rust models, docs and MCP tool schemas that this crate serves over WebSocket RPC, with roles and typed errors built in."