diff --git a/.github/release.sh b/.github/release.sh index 7725f41c..4984ff0c 100644 --- a/.github/release.sh +++ b/.github/release.sh @@ -106,8 +106,12 @@ function _c4_validate_ver() ver=$(echo $ver | sed "s:v\(.*\):\1:") #sver=$(echo $ver | sed "s:\([0-9]*\.[0-9]*\..[0-9]*\).*:\1:") if [ ! -f changelog/$ver.md ] ; then \ - echo "ERROR: could not find changelog/$ver.md" - exit 1 + if [ -f changelog/current.md ] ; then + git mv changelog/current.md changelog/$ver.md + else + echo "ERROR: could not find changelog/$ver.md" + exit 1 + fi fi echo $ver } diff --git a/CMakeLists.txt b/CMakeLists.txt index e546ecfd..19bb9610 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ project(c4core DESCRIPTION "Multiplatform low-level C++ utilities" HOMEPAGE_URL "https://github.com/biojppm/c4core" LANGUAGES CXX) -c4_project(VERSION 0.1.4 +c4_project(VERSION 0.1.6 AUTHOR "Joao Paulo Magalhaes ") c4_add_library(c4core diff --git a/changelog/0.1.6.md b/changelog/0.1.6.md new file mode 100644 index 00000000..296de139 --- /dev/null +++ b/changelog/0.1.6.md @@ -0,0 +1,2 @@ +- Fix wrong version names in version 0.1.5 (was saying 0.1.4, should be 0.1.5) + diff --git a/tbump.toml b/tbump.toml index 2426614e..3d801ec0 100644 --- a/tbump.toml +++ b/tbump.toml @@ -2,7 +2,7 @@ # github_url = "https://github.com///" [version] -current = "0.1.4" +current = "0.1.6" # Example of a semver regexp. # Make sure this matches current_version before