Create semaphore_latest.sh

This commit is contained in:
Nicolas Simond
2025-03-31 16:02:41 +02:00
committed by GitHub
parent 8caa7017fc
commit a0d83be317
+3
View File
@@ -0,0 +1,3 @@
VER=$(curl -L -s https://api.github.com/repos/ansible-semaphore/semaphore/releases/latest|grep tag_name | cut -d '"' -f 4|sed 's/v//g')
wget -q https://github.com/ansible-semaphore/semaphore/releases/download/v${VER}/semaphore_${VER}_linux_amd64.deb
dpkg -i semaphore_${VER}_linux_amd64.deb