checkout with refs/tags
This commit is contained in:
2
.github/workflows/create-release.yaml
vendored
2
.github/workflows/create-release.yaml
vendored
@@ -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 }}'
|
||||||
|
|||||||
Reference in New Issue
Block a user