Skip to content

Commit b4da255

Browse files
committed
release_tools: Fix increment_ltversions
LT_* variables are in root CMakeLists.txt not in src/CMakeLists.txt
1 parent 941124a commit b4da255

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release_tools/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ apply_triplets_to_file()
183183
# $1: Strategy (backwards_compatible, bugfix, breaking_change)
184184
increment_ltversions()
185185
{
186-
local _cmake_file="$OSCAP_REPO_ROOT/src/CMakeLists.txt" _old_versions _new_versions _new_soname _old_soname
186+
local _cmake_file="$OSCAP_REPO_ROOT/CMakeLists.txt" _old_versions _new_versions _new_soname _old_soname
187187
# check_for_clean_repo
188188
_old_versions="$(get_lt_triplet_from_file "$_cmake_file")" || die "Unable to get current LT versions"
189189
_new_versions="$(increment_on_$1 "$_old_versions")" || die "Unable to get calculate refreshed LT version with strategy '$1'"

0 commit comments

Comments
 (0)