mirror of
https://github.com/LamGC/jenkins-agent-with-docker.git
synced 2026-07-14 05:42:03 +00:00
改用脚本来检查了,一脚踢开 github-scripts。
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
LATEST_VERSION=$(curl -s https://api.github.com/repos/jenkinsci/docker-inbound-agent/releases/latest | grep tag_name | cut -d '"' -f 4)
|
||||
if [ "$LATEST_VERSION" != "$(cat LATEST_VERSION)" ]; then
|
||||
echo "$LATEST_VERSION" > LATEST_VERSION
|
||||
fi
|
||||
Reference in New Issue
Block a user