Skip to content

Commit 96b628b

Browse files
authored
Merge pull request #153 from tschoonj/tschoonj/issue151
Use bumpversion
2 parents 9bfab75 + 8d419e3 commit 96b628b

File tree

3 files changed

+26
-2
lines changed

3 files changed

+26
-2
lines changed

.bumpversion.cfg

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[bumpversion]
2+
current_version = 4.0.0
3+
commit = True
4+
tag = True
5+
6+
[bumpversion:file:meson.build]
7+
search = version: '{current_version}'
8+
replace = version: '{new_version}'
9+
10+
[bumpversion:file:configure.ac]
11+
search = AC_INIT([xraylib],[{current_version}],[Tom.Schoonjans@me.com])
12+
replace = AC_INIT([xraylib],[{new_version}],[Tom.Schoonjans@me.com])
13+
14+
[bumpversion:file:idl/libxrlidl.dlm]
15+
search = VERSION {current_version}
16+
replace = VERSION {new_version}
17+
18+
[bumpversion:file:java/GoogleAnalyticsThread.java]
19+
search = GOOGLE_ANALYTICS_APPLICATION_VERSION = "{current_version}";
20+
replace = GOOGLE_ANALYTICS_APPLICATION_VERSION = "{new_version}";
21+
22+
[bumpversion:file:java/build.gradle.in]
23+
search = version = '{current_version}'
24+
replace = version = '{new_version}'

java/build.gradle.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ apply plugin: 'java-library'
2020
apply plugin: 'biz.aQute.bnd.builder'
2121

2222

23-
version = '@VERSION@'
23+
version = '4.0.0'
2424
group = 'com.github.tschoonj'
2525
sourceCompatibility = '1.8'
2626
targetCompatibility = '1.8'

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
project('xraylib',
22
'c',
33
meson_version: '>= 0.56.0',
4-
version:'4.0.0',
4+
version: '4.0.0',
55
license: 'BSD',
66
default_options: ['cpp_std=c++11',]
77
)

0 commit comments

Comments
 (0)