Well, that’s a pretty tricky one.
What happened is that you hit the ‘release’ stage on a build which started a week ago. Because it’s a pipeline, every stage will use the exactly same commit as the first stage, hence it used commit bb61e06483cd415a55b72cceac8d10ad00ee4e8a, which didn’t yet had my change on the release scripts.
I tried it again here, and with the latest commits it should work
https://ci.openmrs.org/browse/RELEASE-RTM-189