Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Ben Gamari's avatar
    c02add17
    configure: Check version number validity · c02add17
    Ben Gamari authored and Marge Bot's avatar Marge Bot committed
    Here we verify the previously informal invariant that stable release
    version numbers must have three components, preventing costly failed
    releases.
    
    Specifically, the check fails in the following scenarios:
    
     * `version=9.13` while `RELEASE=YES` since this would imply a
       release made from an unstable branch
     * `version=9.13.0` since unstable versions should only have two
       components
     * `version=9.12` since this has the wrong number of version components
       for a stable branch
    
    Fixes #25390.
    c02add17
    History
    configure: Check version number validity
    Ben Gamari authored and Marge Bot's avatar Marge Bot committed
    Here we verify the previously informal invariant that stable release
    version numbers must have three components, preventing costly failed
    releases.
    
    Specifically, the check fails in the following scenarios:
    
     * `version=9.13` while `RELEASE=YES` since this would imply a
       release made from an unstable branch
     * `version=9.13.0` since unstable versions should only have two
       components
     * `version=9.12` since this has the wrong number of version components
       for a stable branch
    
    Fixes #25390.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.