Update version

This commit is contained in:
Evgeniy Patlan
2017-03-23 14:17:12 +02:00
parent 3357eb8aec
commit 5fe708ebb0
45 changed files with 108 additions and 43 deletions

View File

@@ -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