Change OTA Link using build flags

Hi i want to change link providing OTA upgrade files but iam only able to do it using User_config.h

i tried:
'-DRELEASE_LINK="https://github.com/Johnymalina/OpenMQTTGateway/blob/development/.pio/build/"'
-DRELEASE_LINK="https://github.com/Johnymalina/OpenMQTTGateway/blob/development/.pio/build/"

and because i need to use escaping on f.e. ip addresses to be accepted by Platformio and compile i tried even this:

-DRELEASE_LINK=\"https://github.com/Johnymalina/OpenMQTTGateway/blob/development/.pio/build/\"

But nothing works. Could someone help me how to do it using buld flags in my env file?