79b876cd70
Use sed to drop anything ending in -git.*. That allows us to grab the version information for the main tree while -rc* will still work later.