diff --git a/update-version.sh b/update-version.sh index 16ea024..4984325 100644 --- a/update-version.sh +++ b/update-version.sh @@ -1,4 +1,4 @@ -LATEST_VERSION=$(curl -s https://api.github.com/repos/jenkinsci/docker-inbound-agent/releases/latest | grep tag_name | cut -d '"' -f 4) +LATEST_VERSION=$(curl -s https://api.github.com/repos/jenkinsci/docker-agent/releases/latest | grep tag_name | cut -d '"' -f 4) if [ "$LATEST_VERSION" != "$(cat LATEST_VERSION)" ]; then echo "$LATEST_VERSION" > LATEST_VERSION -fi \ No newline at end of file +fi