From 992d3630e93236a66cf6a824ebb1356d6ae993c4 Mon Sep 17 00:00:00 2001 From: Deac Date: Tue, 18 Aug 2026 09:38:15 -0400 Subject: [PATCH] ci: maintain a floating v1 major-version tag on release Lets consumers pin actions to @v1 instead of an exact vX.Y.Z, so they pick up fixes automatically without per-repo version bumps. --- .gitea/workflows/publish.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index 04f4fe5..b802f51 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -24,6 +24,9 @@ jobs: git add VERSION git diff --cached --quiet || git commit -m "chore: bump version [skip ci]" version=$(cat VERSION) + major="${version%%.*}" git tag "v${version}" + git tag -f "v${major}" git push - git push --tags + git push origin "refs/tags/v${version}" + git push --force origin "refs/tags/v${major}"