Commit 9232df5
committed
Fix minionversion regex to allow Linux build suffix (e.g. 3004.2-1)
Pre-3005 Linux Salt packages used a -N build suffix in their version
strings. The CalVer regex only allowed rc suffixes, causing
_validate_minion_version_param to reject 3004.2-1 and 3003.3-1 with
exit 126 and breaking existing CI tests that rely on those versions
defaulting to latest. Adds (-[0-9]+) as an alternative to (rc[0-9]+)
in the Linux validator only — Windows packages were not released with
this suffix format.1 parent 0d05c3f commit 9232df5
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1990 | 1990 | | |
1991 | 1991 | | |
1992 | 1992 | | |
1993 | | - | |
1994 | | - | |
| 1993 | + | |
| 1994 | + | |
1995 | 1995 | | |
1996 | 1996 | | |
1997 | 1997 | | |
| |||
2005 | 2005 | | |
2006 | 2006 | | |
2007 | 2007 | | |
2008 | | - | |
| 2008 | + | |
2009 | 2009 | | |
2010 | 2010 | | |
2011 | 2011 | | |
| |||
0 commit comments