From facf3030962ec2af1ff3777cf6b12de97bc518b6 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Wed, 24 Dec 2025 00:33:14 +0000 Subject: [PATCH] chore(readme): fix version string bumps done by release-please (#83) --- README.md | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 700bd3a..4ba33bf 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,8 @@ to move its own major and minor tags. ### Basic + + ```yaml @@ -165,15 +167,12 @@ tag[:ref[:annotation]] **Per-tag refs** allow different tags to point to different commits: - - ```yaml - uses: jimeh/update-tags-action@v2 with: tags: | v1:main - v1.2:main - v1.3:develop + v2:develop ``` **Per-tag annotations** allow different annotation messages for each tag: @@ -203,11 +202,11 @@ Per-tag values override the global `ref` and `annotation` inputs: with: tags: | v1:main:Custom annotation for v1 - v1.2 + v2 ref: develop annotation: Default annotation for tags without per-tag override # v1 -> main with "Custom annotation for v1" - # v1.2 -> develop with "Default annotation..." + # v2 -> develop with "Default annotation..." ``` Annotations can contain colons (everything after the second colon is the @@ -221,8 +220,6 @@ annotation): # Annotation will be "Release: version 1.0.0" ``` - - ### Derive Template Syntax The `derive_from_template` input uses [Handlebars](https://handlebarsjs.com/) @@ -246,8 +243,6 @@ Available placeholders: Use Handlebars `{{#if}}` blocks to include content only when a variable has a value. This is useful for optional components like prerelease or build metadata: - - ```yaml - uses: jimeh/update-tags-action@v2 with: @@ -279,8 +274,6 @@ You can also use `{{#unless}}` for inverse logic: # Creates tag: v1-stable (only for non-prerelease versions) ``` - - ## Outputs