Skip to content

Commit

Permalink
BUG/MINOR: swagger: fix swagger version in CI too
Browse files Browse the repository at this point in the history
  • Loading branch information
mjuraga committed Jul 12, 2022
1 parent 5415b5c commit f46a3fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ diff:
- branches
script:
#- apk add make curl bash jq
- SWAGGER_VERSION=$(curl -s https://raw.githubusercontent.com/haproxytech/client-native/master/Makefile | grep SWAGGER_VERSION -m 1 | awk -F"=" '{print $2}')
- SWAGGER_VERSION=v0.23.0
- 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
- make generate-native
- test -z "$(git diff 2> /dev/null)" || exit "Specification is not generated, issue \`make generate\` and commit the result"
Expand Down

0 comments on commit f46a3fe

Please sign in to comment.