Release filename should be created in one place
Maybe counting number of commits was better. Now grep for the hash of the last commit.