From 86dc87790db49a9ec6e96a1e3093611ca8d70b67 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Wed, 18 Nov 2020 17:56:34 +0100 Subject: [PATCH] Update README --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9abd654..b8992ee 100644 --- a/README.md +++ b/README.md @@ -292,12 +292,16 @@ If Git tag is a valid [semver](https://semver.org/) you can handle it to output | `v1.2.3` | `v{{major}}` | :white_check_mark: | `v1`, `latest` | `v1` | | `v1.2.3` | `{{minor}}` | :white_check_mark: | `2`, `latest` | `2` | | `v1.2.3` | `{{patch}}` | :white_check_mark: | `3`, `latest` | `3` | -| `v1.2.3` | `{{major}}.{{minor}}`
`{{major}}.{{minor}}.{{patch}}` | :white_check_mark: | `1.2`, `1.2.3`, `latest` | `1.2` | -| `v2.0.8-beta.67` | `{{raw}}` | :white_check_mark: | `v2.0.8-beta.67` | `v2.0.8-beta.67` | +| `v1.2.3` | `{{major}}.{{minor}}`
`{{major}}.{{minor}}.{{patch}}` | :white_check_mark: | `1.2`, `1.2.3`, `latest` | `1.2`* | +| `v2.0.8-beta.67` | `{{raw}}` | :white_check_mark: | `2.0.8-beta.67` | `2.0.8-beta.67` | | `v2.0.8-beta.67` | `{{version}}` | :white_check_mark: | `2.0.8-beta.67` | `2.0.8-beta.67` | -| `v2.0.8-beta.67` | `{{major}}.{{minor}}` | :white_check_mark: | `2.0` | `2.0` | +| `v2.0.8-beta.67` | `{{major}}.{{minor}}` | :white_check_mark: | `2.0.8-beta.67`** | `2.0.8-beta.67` | | `release1` | `{{raw}}` | :x: | `release1` | `release1` | +> *First occurrence of `tag-semver` will be taken as `output.version` + +> **Pre-release (rc, beta, alpha) will only extend `{{version}}` as tag + ### Schedule tag `tag-schedule` is specially crafted input to support [Handlebars template](https://handlebarsjs.com/guide/) with