File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ GIT_TAG_COMMIT=$(shell git rev-parse --short ${GIT_LAST_TAG})
66GIT_MODIFIED1 =$(shell git diff "${GIT_HEAD_COMMIT}" "${GIT_TAG_COMMIT}" --quiet || echo .dev)
77GIT_MODIFIED2 =$(shell git diff --quiet || echo .dirty)
88GIT_MODIFIED =${GIT_MODIFIED1}${GIT_MODIFIED2}
9- SWAGGER_VERSION =${shell curl -s https://raw.githubusercontent.com/haproxytech/client-native/master/Makefile | grep SWAGGER_VERSION -m 1 | awk -F"=" '{print $$2}'}
9+ SWAGGER_VERSION =v0.23.0
1010BUILD_DATE =$(shell date -u '+% Y-% m-% dT% H:% M:% SZ')
1111CGO_ENABLED? =0
1212
You can’t perform that action at this time.
0 commit comments