File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 68
68
69
69
# Get the version string
70
70
major=$( grep -e ' SET(CPACK_PACKAGE_VERSION_MAJOR' ../CMakeLists.txt |
71
- sed ' s/.*\([0-9]\) .*/\1/' )
71
+ sed -r ' s/.*\" ([0-9]+)\" .*/\1/g ' )
72
72
minor=$( grep -e ' SET(CPACK_PACKAGE_VERSION_MINOR' ../CMakeLists.txt |
73
- sed ' s/.*\([0-9]\) .*/\1/' )
73
+ sed -r ' s/.*\" ([0-9]+)\" .*/\1/g ' )
74
74
patch=$( grep -e ' SET(CPACK_PACKAGE_VERSION_PATCH' ../CMakeLists.txt |
75
- sed ' s/.*\([0-9]\) .*/\1/' )
75
+ sed -r ' s/.*\" ([0-9]+)\" .*/\1/g ' )
76
76
77
77
version=$( echo $major .$minor .$patch )
78
78
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ ARCHS=( "fedora-20-i386"
13
13
" fedora-20-x86_64"
14
14
" fedora-21-i386"
15
15
" fedora-21-x86_64"
16
+ " fedora-22-i386"
17
+ " fedora-22-x86_64"
16
18
)
17
19
18
20
# Which git branch to export. Normally take the current
You can’t perform that action at this time.
0 commit comments