Skip to content

Commit 8772f2c

Browse files
authored
revert degrading go version to 1.19 for publish-github-release for ghr support (#1133)
* revert Degraded go version to 1.19 for publish-github-release to support ghr (#1132) * degrade cimg 1.21 * empty commit to trigger ci change
1 parent 4c91dd8 commit 8772f2c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.circleci/config.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2.1
33
jobs:
44
test:
55
docker:
6-
- image: cimg/go:1.21.1
6+
- image: cimg/go:1.21
77
steps:
88
- checkout
99
- setup_remote_docker:
@@ -55,7 +55,7 @@ jobs:
5555
- .
5656
push-docker-build:
5757
docker:
58-
- image: cimg/go:1.21.1
58+
- image: cimg/go:1.21
5959
environment:
6060
IMAGE_NAME: "razornetwork/razor-go"
6161

@@ -163,7 +163,7 @@ jobs:
163163

164164
publish-github-release:
165165
docker:
166-
- image: cimg/go:1.19
166+
- image: cimg/go:1.17
167167
steps:
168168
- checkout
169169
- attach_workspace:
@@ -173,6 +173,7 @@ jobs:
173173
- run:
174174
name: "Publish Release on GitHub"
175175
command: |
176+
go version
176177
go get -u github.com/tcnksm/ghr
177178
VERSION=$(git describe --tags --abbrev=0)
178179
mv razor_go.linux-amd64.tar.gz razor_go.${VERSION}.linux-amd64.tar.gz && mv razor_go.linux-arm64.tar.gz razor_go.${VERSION}.linux-arm64.tar.gz

0 commit comments

Comments
 (0)