The condition `branch = master` skips the release stage for tags, but that's exactly when the stage should run.