checkout with refs/tags

This commit is contained in:
Colin Griffin
2023-07-04 11:03:25 -04:00
committed by GitHub
parent d922d0f363
commit 0c502c56ff

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 ls-remote --tags && git checkout '${{ inputs.RELEASE_TAG }}') (cd calcom && 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 }}'