Unless you are releasing them exactly where they came from, and unless you are 100% certain that they have not had any contact, either direct or indirect, with other amphibians while in captivity, and unless you are certain that it is legal in your area, you should not release them at all.