Add script for regression checks

The script compares current output with the previous release tag.