From 597a3c9910f75ff5f71812423d4a280af88aacb3 Mon Sep 17 00:00:00 2001 From: Henry Palacios Date: Thu, 16 Apr 2026 23:35:47 -0300 Subject: [PATCH] fix(ci): push tags explicitly instead of --follow-tags Tags with slashes (protocol-core/v0.1.1) are not pushed by git push --follow-tags. Push branch and tag separately to ensure the tag exists on remote before gh release create runs. --- .github/workflows/publish-protocol-core.yaml | 3 ++- .github/workflows/publish-sdk.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-protocol-core.yaml b/.github/workflows/publish-protocol-core.yaml index 19cbcaf..5760194 100644 --- a/.github/workflows/publish-protocol-core.yaml +++ b/.github/workflows/publish-protocol-core.yaml @@ -241,7 +241,8 @@ jobs: git add packages/protocol-core/package.json git commit -m "chore(release): protocol-core v${VERSION} [skip ci]" git tag "protocol-core/v${VERSION}" - git push origin HEAD --follow-tags + git push origin HEAD + git push origin "protocol-core/v${VERSION}" - name: Get published version id: version diff --git a/.github/workflows/publish-sdk.yaml b/.github/workflows/publish-sdk.yaml index 560038f..848197b 100644 --- a/.github/workflows/publish-sdk.yaml +++ b/.github/workflows/publish-sdk.yaml @@ -238,7 +238,8 @@ jobs: git add packages/sdk/package.json git commit -m "chore(release): sdk v${VERSION} [skip ci]" git tag "sdk/v${VERSION}" - git push origin HEAD --follow-tags + git push origin HEAD + git push origin "sdk/v${VERSION}" - name: Get published version id: version