From be1206ab7ef80ee9c4a6ab19d6489e262145ec24 Mon Sep 17 00:00:00 2001 From: moss-bryophyta <261561981+moss-bryophyta@users.noreply.github.com> Date: Thu, 19 Mar 2026 17:19:05 -0700 Subject: [PATCH] fix(release): push only new tags instead of all tags Previously `git push origin --tags` pushed all local tags, which fails when some tags already exist on the remote. Now each tag is pushed individually right after creation, making the step idempotent. --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f25148c..c79146f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -69,11 +69,11 @@ jobs: tag="${name}@${version}" if ! git tag -l "$tag" | grep -q .; then git tag "$tag" + git push origin "$tag" echo "Tagged $tag" NEW_PACKAGES="$NEW_PACKAGES $name" fi done - git push origin --tags # Create GitHub releases for each new tag for pkg in packages/*/; do