We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56e0b88 commit 3091a86Copy full SHA for 3091a86
buildrpm/cluster-api.spec
@@ -35,6 +35,11 @@ A CLI tool that handles the lifecycle of a Cluster API management cluster.
35
%setup -q -n %{name}-%{version}
36
37
%build
38
+export GO_VERSION=$(grep go go.mod | head -n1 | awk'{print $2}')
39
+export GO_DIRECTIVE_VERSION=$GO_VERSION
40
+
41
+echo $GO_VERSION
42
+echo $GO_DIRECTIVE_VERSION
43
git fetch --tags
44
go mod download
45
make manager-core
0 commit comments