From 35125d3e4139666d9a58b50d5a11fad245d20ef8 Mon Sep 17 00:00:00 2001 From: Colin Griffin Date: Tue, 4 Jul 2023 11:05:27 -0400 Subject: [PATCH] fetch tags from origin --- .github/workflows/create-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml index 2c3f266..057aed8 100644 --- a/.github/workflows/create-release.yaml +++ b/.github/workflows/create-release.yaml @@ -27,7 +27,7 @@ jobs: git config user.name "actions-user" git submodule update --init --remote git checkout -b 'release-${{ inputs.RELEASE_TAG }}' - (cd calcom && git checkout 'refs/tags/${{ inputs.RELEASE_TAG }}') + (cd calcom && git fetch --tags origin && git checkout 'refs/tags/${{ inputs.RELEASE_TAG }}') git add calcom git commit -m "tag version Cal.com version ${{ inputs.RELEASE_TAG }}" git push origin 'release-${{ inputs.RELEASE_TAG }}'