Say which revision the pull restarted into
The restart line named no version, so a log showing one gave no way to tell what the rest of the run actually executed.
This commit is contained in:
+1
-1
@@ -317,7 +317,7 @@ else
|
|||||||
if [[ -z "${VV_PULL_REEXECED:-}" ]]; then
|
if [[ -z "${VV_PULL_REEXECED:-}" ]]; then
|
||||||
_vv_self_now="$(md5sum "$_VV_SELF" 2>/dev/null | cut -d' ' -f1)"
|
_vv_self_now="$(md5sum "$_VV_SELF" 2>/dev/null | cut -d' ' -f1)"
|
||||||
if [[ -n "$_vv_self_now" && -n "$_VV_SELF_SUM" && "$_vv_self_now" != "$_VV_SELF_SUM" ]]; then
|
if [[ -n "$_vv_self_now" && -n "$_VV_SELF_SUM" && "$_vv_self_now" != "$_VV_SELF_SUM" ]]; then
|
||||||
echo " Pull updated this script — restarting so the rest of the run uses it"
|
echo " Pull updated this script — restarting at $(git rev-parse --short HEAD 2>/dev/null || echo 'unknown') so the rest of the run uses it"
|
||||||
_release_all_locks
|
_release_all_locks
|
||||||
export VV_PULL_REEXECED=1
|
export VV_PULL_REEXECED=1
|
||||||
exec bash "$_VV_SELF" "${_VV_SELF_ARGS[@]}"
|
exec bash "$_VV_SELF" "${_VV_SELF_ARGS[@]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user