mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 07:38:58 +08:00
WIP: Fix git ref
This commit is contained in:
parent
de9a07e6c1
commit
7f053c8d2a
@ -27,6 +27,7 @@ GIT_REF_NAME="${GITHUB_REF}"
|
|||||||
if [ -n "${GITHUB_BASE_REF}" ]; then
|
if [ -n "${GITHUB_BASE_REF}" ]; then
|
||||||
GIT_REF_NAME="${GITHUB_BASE_REF}"
|
GIT_REF_NAME="${GITHUB_BASE_REF}"
|
||||||
fi
|
fi
|
||||||
|
GIT_REF_NAME="$(basename "${GIT_REF_NAME}")"
|
||||||
|
|
||||||
URANIUM_BRANCH="${GIT_REF_NAME:-master}"
|
URANIUM_BRANCH="${GIT_REF_NAME:-master}"
|
||||||
output="$(git ls-remote --heads https://github.com/Ultimaker/Uranium.git "${URANIUM_BRANCH}")"
|
output="$(git ls-remote --heads https://github.com/Ultimaker/Uranium.git "${URANIUM_BRANCH}")"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user