Commit 78d9d0d
xiaodwan
update the way of getting the release number of a package (avocado-framework#4201)
The previous way will fail when it's like "1.56.0-1.el10.1". Now
we only get the release number before the first '.' and ignore other
information.
Signed-off-by: Xiaodai Wang <xiaodwan@redhat.com>1 parent 7f04953 commit 78d9d0d
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1857 | 1857 | | |
1858 | 1858 | | |
1859 | 1859 | | |
1860 | | - | |
| 1860 | + | |
1861 | 1861 | | |
1862 | 1862 | | |
1863 | 1863 | | |
1864 | | - | |
| 1864 | + | |
| 1865 | + | |
1865 | 1866 | | |
1866 | 1867 | | |
1867 | 1868 | | |
| |||
1889 | 1890 | | |
1890 | 1891 | | |
1891 | 1892 | | |
1892 | | - | |
| 1893 | + | |
1893 | 1894 | | |
1894 | 1895 | | |
1895 | 1896 | | |
| |||
0 commit comments