add first version of ssh-agent publishing

This commit is contained in:
2024-05-29 22:43:36 +06:00
parent 70e4add59e
commit 26ec3ec493
5 changed files with 76 additions and 6 deletions

11
ssh-agent/autoupdate.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
if [ -z "$1" ]; then
newVersion="5.38.0"
else
newVersion="$1"
fi
sed -i -E "s/ssh-agent:[0-9\.]+/ssh-agent:${newVersion}/g" Dockerfile
sed -i -E "s/version=\"[0-9\.]+\"/version=\"${newVersion}\"/g" deploy