createrelease: updated sed commands to write version

This commit is contained in:
Daniel Marjamäki 2021-07-04 08:41:55 +02:00
parent 3e3e9d8c50
commit ef687af91b
1 changed files with 6 additions and 6 deletions

View File

@ -27,14 +27,14 @@
# git log --format='%aN' 1.81..HEAD | sort -u > AUTHORS2 && diff -y AUTHORS AUTHORS2 | less
#
# Update version numbers in:
# sed -i "s/[12].[0-9][0-9]*.99/2.1/" cli/main.cpp
# sed -i "s/[12].[0-9][0-9]*/2.1/" cmake/versions.cmake
# sed -i "s/MINOR [0-9][0-9]*/MINOR 1/" lib/version.h
# sed -i "s/[12].[0-9][0-9]* dev/2.1/" win_installer/productInfo.wxi
# sed -i "s/[12].[0-9][0-9]*/2.1/" win_installer/productInfo.wxi
# sed -i "s/subtitle: Version 2[.0-9]*/subtitle: Version 2.2/" man/*.md
# sed -i "s/2.[0-9][0-9]*.99/2.5/" cli/main.cpp
# sed -i "s/2.[0-9][0-9]*/2.5/" cmake/versions.cmake
# sed -i "s/MINOR [0-9]+/MINOR 5/" lib/version.h
# sed -i "s/2\.[0-9]+/2.5/" win_installer/productInfo.wxi
# sed -i "s/subtitle: Version 2\.[0-9]+/subtitle: Version 2.5/" man/*.md
# Verify:
# grep '\.99' */*.[ch]* && grep '[0-9][0-9] dev' */*.[ch]*
# egrep "2\.[0-9]+" */*.h */*.cpp man/*.md | grep -v "test/test" | less
# git commit -a -m "1.43: Set versions"
#
# Update the Makefile: