The issue is that there is no way (in my opinion. probably there is some cryptic not obvious way) to pass -ldflags="-X main.version=1.2.3" as a single command line argument. It is important that we have to keep space between X and main.version and prevent process_build from rearranging arguments.
Hi,
I created an issue in BOO: https://bugzilla.opensuse.org/show_bug.cgi?id=1079998
The issue is that there is no way (in my opinion. probably there is some cryptic not obvious way) to pass
-ldflags="-X main.version=1.2.3"
as a single command line argument. It is important that we have to keep space between X and main.version and preventprocess_build
from rearranging arguments.