mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-08-27 22:33:44 +03:00
[build] Support release tags that shadow branch names (#17409)
Authored by: InvalidUsernameException
This commit is contained in:
@@ -316,7 +316,7 @@ jobs:
|
|||||||
if: env.TARGET_REPO == github.repository
|
if: env.TARGET_REPO == github.repository
|
||||||
run: |
|
run: |
|
||||||
git tag "${TARGET_TAG}" "${HEAD_SHA}"
|
git tag "${TARGET_TAG}" "${HEAD_SHA}"
|
||||||
git push origin "${TARGET_TAG}"
|
git push origin "refs/tags/${TARGET_TAG}"
|
||||||
sleep 5 # Enough time to cover git-push vs gh-release-create race condition
|
sleep 5 # Enough time to cover git-push vs gh-release-create race condition
|
||||||
|
|
||||||
- name: Publish release
|
- name: Publish release
|
||||||
|
|||||||
Reference in New Issue
Block a user