Skip to content

Commit f46a3fe

Browse files
committed
BUG/MINOR: swagger: fix swagger version in CI too
1 parent 5415b5c commit f46a3fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.gitlab-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ diff:
2222
- branches
2323
script:
2424
#- apk add make curl bash jq
25-
- SWAGGER_VERSION=$(curl -s https://raw.githubusercontent.com/haproxytech/client-native/master/Makefile | grep SWAGGER_VERSION -m 1 | awk -F"=" '{print $2}')
25+
- SWAGGER_VERSION=v0.23.0
2626
- wget -q "https://github.com/go-swagger/go-swagger/releases/download/${SWAGGER_VERSION}/swagger_linux_amd64" -O /usr/local/bin/swagger && chmod +x /usr/local/bin/swagger
2727
- make generate-native
2828
- test -z "$(git diff 2> /dev/null)" || exit "Specification is not generated, issue \`make generate\` and commit the result"

0 commit comments

Comments
 (0)