File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 22
22
- branches
23
23
script :
24
24
# - 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
26
26
- 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
27
27
- make generate-native
28
28
- 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})
6
6
GIT_MODIFIED1 =$(shell git diff "${GIT_HEAD_COMMIT}" "${GIT_TAG_COMMIT}" --quiet || echo .dev)
7
7
GIT_MODIFIED2 =$(shell git diff --quiet || echo .dirty)
8
8
GIT_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
10
10
BUILD_DATE =$(shell date -u '+% Y-% m-% dT% H:% M:% SZ')
11
11
CGO_ENABLED? =0
12
12
You can’t perform that action at this time.
0 commit comments