mirror of
https://github.com/LamGC/jenkins-agent-with-docker.git
synced 2025-04-29 22:27:31 +00:00
将仓库从 docker-inbound-agent 切换为 docker-agent.
This commit is contained in:
parent
9c7c9e1c48
commit
60b026171d
@ -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
|
if [ "$LATEST_VERSION" != "$(cat LATEST_VERSION)" ]; then
|
||||||
echo "$LATEST_VERSION" > LATEST_VERSION
|
echo "$LATEST_VERSION" > LATEST_VERSION
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user