Skip to content

Commit 45b957e

Browse files
committed
build: split 'dev' postfix from version string
For the test PyPi upload we need to touch the version string and append the current dev version. Thus split it away if present from the library so version. Signed-off-by: Daniel Wagner <[email protected]>
1 parent ef4df90 commit 45b957e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ project(
2121
)
2222

2323
vstr = meson.project_version().split('-rc')[0]
24+
vstr = vstr.split('.dev')[0]
2425
vid = vstr.split('.')
2526
library_version = '.'.join([vid[0], vid[1]])
2627
if vid.length() == 3

0 commit comments

Comments
 (0)