From ee40ac07057f376d71312f62f7a8225798303852 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sat, 25 Jan 2025 13:38:25 +0100 Subject: Update documentation for run options to watch branches/tags Changelog: Added `--new-commits-on` and `--new-tags` options for `run` command to dynamically generate jobs based on branch/tags changes --- README.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index abd0500..80dca34 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Job definition -------------- The top-level elements of the YAML file are `job ` defining steps to -perform the job and potentially listing artefacts produced or required. +perform the job and potentially listing artifacts produced or required. Example: @@ -52,12 +52,27 @@ To run jobs for a git commit range: minici run .. ``` +or: +``` +minici run --range=.. +``` + To run jobs for commits that are in local ``, but not yet in its upstream: ``` minici run ``` -For currently branch, the name can be omitted: +For current branch, the name can be omitted: ``` minici run ``` + +To watch changes on given `` and run jobs for each new commit: +``` +minici run --new-commits-on= +``` + +To watch new tags and run jobs for each tag matching given pattern: +``` +minici run --new-tags= +``` -- cgit v1.2.3