mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-02 02:34:19 +00:00
Update version
This commit is contained in:
@@ -133,7 +133,7 @@ update_version() {
|
||||
cd $BRANCH/bin
|
||||
for tool_file in *; do
|
||||
if [ $tool_file != "govendor" ]; then
|
||||
sed -i'.bak' -e "s/^$tool_file [0-9]\.[0-9]\+/$tool_file $VERSION/" $tool_file
|
||||
sed -i'.bak' -e "s/^$tool_file [0-9]\.[0-9][^ ]\+/$tool_file $VERSION/" $tool_file
|
||||
if [ $? -ne 0 ]; then
|
||||
die "Error updating version in $tool_file"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user