Another way is to rely on branches, so create 2 branches for release and not for release, so you can delete either one, then choose the branch to use in the settings