Lawmakers release spending bill to avoid a government shutdown