fetch tags from origin

This commit is contained in:
Colin Griffin
2023-07-04 11:05:27 -04:00
committed by GitHub
parent 0c502c56ff
commit 35125d3e41

View File

@@ -27,7 +27,7 @@ jobs:
git config user.name "actions-user" git config user.name "actions-user"
git submodule update --init --remote git submodule update --init --remote
git checkout -b 'release-${{ inputs.RELEASE_TAG }}' 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 add calcom
git commit -m "tag version Cal.com version ${{ inputs.RELEASE_TAG }}" git commit -m "tag version Cal.com version ${{ inputs.RELEASE_TAG }}"
git push origin 'release-${{ inputs.RELEASE_TAG }}' git push origin 'release-${{ inputs.RELEASE_TAG }}'