Please note that the release target is intentionally not documented. All native libraries in the resulting build are downloaded from the official LWJGL CI infrastructure, so any customizations you may have done locally won't make it to the final binaries. Unless the changes are Java-only, it's only useful for building the official LWJGL snapshots & releases, not for custom builds.
A few simple changes could make it applicable to custom builds, but I don't have a good answer on how it would work with cross-platform binaries. Without any changes, a fiddly solution would be to let ant release run, then replace any binaries you want in the jars. The release target does not sign anything, so you could probably automate this without much trouble.