(You may want to move your thread to the For Developers section.)
I don't understand this part of the question. You asked about compiling a release version. Once you compile it, you have a release version.
Just to be sure you understand what those are:
- https://openwrt.org/faq/difference_between_a_release_and_a_trunk_build
- https://openwrt.org/releases/snapshot
Also:
It seems you're using some unofficial code. I am referring to official OpenWrt. Perhaps you should ask @armSeb (wow...he has an account here - I just checked).
(Maybe move to the Community Builds section.)