There was an error while loading. Please reload this page.
1 parent b100882 commit b44eb67Copy full SHA for b44eb67
1 file changed
scripts/download.sh
@@ -19,8 +19,12 @@ download_required() {
19
# Outputs without the 'v' prefix
20
CURRENT_VERSION=$(./actions-runner/bin/Runner.Listener --version)
21
# check if both current and latest versions are set
22
- if [ -z "${CURRENT_VERSION}" ] || [ -z "${LATEST_RUNNER_VERSION}" ]; then
23
- log "Could not determine current or latest runner version."
+ if [ -z "${LATEST_RUNNER_VERSION}" ]; then
+ log "Unable to get latest runner version"
24
+ return 1
25
+ fi
26
+ if [ -z "${CURRENT_VERSION}" ]; then
27
+ log "Could not determine current runner version."
28
log "Current: '${CURRENT_VERSION}', Latest: '${LATEST_RUNNER_VERSION}'"
29
return 0
30
fi
0 commit comments