mirror of
https://github.com/containers/ramalama.git
synced 2026-02-05 15:47:26 +01:00
9 lines
220 B
Bash
Executable File
9 lines
220 B
Bash
Executable File
#! /bin/bash
|
|
if [[ "$#" != 2 ]]; then
|
|
echo "Usage: $0 CURVERSION NEWVERSION"
|
|
exit 1
|
|
fi
|
|
curversion=$1
|
|
newversion=$2
|
|
sed "s/${curversion}/${newversion}/g" -i ramalama/version.py rpm/ramalama.spec docs/ramalama*.md
|