mirror of
https://github.com/InsanusMokrassar/JenkinsDocker.git
synced 2024-12-23 00:57:19 +00:00
12 lines
224 B
Bash
Executable File
12 lines
224 B
Bash
Executable File
#!/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
|
|
|