Compare commits

...
4 Commits
Author SHA1 Message Date
gitea-actions 50dc06f634 chore: bump version [skip ci] 2026-08-18 13:38:29 +00:00
deac 992d3630e9 ci: maintain a floating v1 major-version tag on release
publish.yaml / publish (push) Successful in 8s
Lets consumers pin actions to @v1 instead of an exact vX.Y.Z, so they
pick up fixes automatically without per-repo version bumps.
2026-08-18 09:38:15 -04:00
gitea-actions b8b5648d00 chore: bump version [skip ci] 2026-08-18 13:34:06 +00:00
deac 503c02b24c fix: skip commit/push in update_version when tag is unchanged
publish.yaml / publish (push) Successful in 8s
git commit was failing the step (and job) with "nothing to commit" when
the target tag already matched releases/versions.yaml, e.g. on a re-run
for the same commit SHA.
2026-08-18 09:33:33 -04:00
3 changed files with 9 additions and 2 deletions
+4 -1
View File
@@ -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}"
+1 -1
View File
@@ -1 +1 @@
1.16.0
1.18.0
+4
View File
@@ -38,5 +38,9 @@ runs:
git config user.email "gitea-actions@gitea.pixelparasol.com"
git config user.name "Gitea Actions"
git add releases/versions.yaml
if git diff --cached --quiet; then
echo "No version change for ${{ inputs.service }}, skipping commit"
exit 0
fi
git commit -m "chore: update ${{ inputs.service }} to ${{ inputs.tag }}"
git push