build/release: stop trying to bump version in autotools
This commit is contained in:
@@ -144,25 +144,12 @@ check_gitlab_pipeline() {
|
||||
return 0
|
||||
}
|
||||
|
||||
set_version_number_autotools() {
|
||||
sed -i \
|
||||
-e '1,20 s/^m4_define(\[nm_major_version\], \[\([0-9]\+\)\])$/m4_define([nm_major_version], ['"$1"'])/' \
|
||||
-e '1,20 s/^m4_define(\[nm_minor_version\], \[\([0-9]\+\)\])$/m4_define([nm_minor_version], ['"$2"'])/' \
|
||||
-e '1,20 s/^m4_define(\[nm_micro_version\], \[\([0-9]\+\)\])$/m4_define([nm_micro_version], ['"$3"'])/' \
|
||||
./configure.ac
|
||||
}
|
||||
|
||||
set_version_number_meson() {
|
||||
set_version_number() {
|
||||
sed -i \
|
||||
-e '1,20 s/^\( *version: *'\''\)[0-9]\+\.[0-9]\+\.[0-9]\+\('\'',\)$/\1'"$1.$2.$3"'\2/' \
|
||||
meson.build
|
||||
}
|
||||
|
||||
set_version_number() {
|
||||
set_version_number_autotools "$@" &&
|
||||
set_version_number_meson "$@"
|
||||
}
|
||||
|
||||
check_news() {
|
||||
local mode="$1"
|
||||
shift
|
||||
|
Reference in New Issue
Block a user