mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-04-25 13:12:10 +00:00
fix(ci): update GitHub draft release script to set GH_REPO from GITHUB_REPOSITORY if not defined
This commit is contained in:
@@ -18,6 +18,10 @@ fi
|
||||
|
||||
export GH_TOKEN
|
||||
|
||||
if [ -z "${GH_REPO:-}" ] && [ -n "${GITHUB_REPOSITORY:-}" ]; then
|
||||
export GH_REPO="$GITHUB_REPOSITORY"
|
||||
fi
|
||||
|
||||
if ! gh release view "$TAG" >/dev/null 2>&1; then
|
||||
gh release create "$TAG" --draft --title "$TAG" --notes "Automated draft release. Review assets and provenance before publishing."
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user