Closed Yashk767 closed 1 year ago
go 1.17, 1.19, 1.20 -> Throws error
/home/circleci/project/go.mod:3: invalid go version '1.21.1': must match format 1.23
go 1.21.1-> Throws error : “/bin/bash: line 5: ghr: command not found”
go 1.19,1.20,1.21 -> throws error: “/bin/bash: line 5: ghr: command not found”
go 1.17 : SUCCESSFULL
Only cimg:go 1.17
is compatible for ghr to publish releases to github.
Description
Publish Release on github
job is throwing error -ghr command not found
- https://app.circleci.com/pipelines/github/razor-network/oracle-node/1950/workflows/da4b5a29-2852-4c39-aad4-89fb7004751a/jobs/2168On checking
ghr
repo(https://github.com/tcnksm/ghr/blob/master/go.mod#L3) its found that the maximum go version to run ghr isgo1.19
and we updated go version togo1.21.1
and earlier it wasgo1.17
here in.circleci/config.yml
file -Solution
Running
publish-github-release
job with latest supported go version forghr
i.e.- image: cimg/go:1.19
would work and wont affect our binary execution, as we are booting older version to just push the binary to github.