From 76f74e881dafdffccbddce38f545e2a8f3ae886c Mon Sep 17 00:00:00 2001 From: Jonathan Cobb Date: Wed, 16 Sep 2020 00:00:15 -0400 Subject: [PATCH] force remove latest symlink before re-creating --- bin/build_dist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/build_dist b/bin/build_dist index 4d372c42..db65f5da 100755 --- a/bin/build_dist +++ b/bin/build_dist @@ -76,7 +76,7 @@ if [[ ! -z "${BUBBLE_DIST_HOME}" ]] ; then fi cp "${ZIP}" "${BUBBLE_DIST}" && cat "${ZIP}" | sha256sum | cut -f1 -d' ' | tr -d '\n' > "${BUBBLE_DIST}.sha256" if [[ ${IS_DEV} -eq 0 ]] ; then - cd ${BUBBLE_DIST_TOP} && rm latest && ln -sf ${BUBBLE_VERSION} latest + cd ${BUBBLE_DIST_TOP} && rm -f latest && ln -sf ${BUBBLE_VERSION} latest echo "${BUBBLE_VERSION}" > latest.txt fi echo "Published release: ${BUBBLE_DIST}"