Skip to content

Commit

Permalink
Revert "added OPENAPI_BRANCH parameter to update-openapi-spec makefil…
Browse files Browse the repository at this point in the history
…e step, to let us specify a feature branch to update from (for testing)"

This reverts commit d7d789d.
  • Loading branch information
jar-stripe committed Oct 18, 2024
1 parent d7d789d commit beb9a01
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
GIT_COMMITSHA = $(shell git rev-parse HEAD)
IMAGE_NAME = "stripe/stripe-mock"
OPENAPI_BRANCH ?= master

all: test vet lint check-gofmt build

Expand Down Expand Up @@ -31,6 +30,6 @@ docker-run:
update-openapi-spec:
rm -f ./embedded/openapi/spec3.json
rm -f ./embedded/openapi/fixtures3.json
wget https://raw.githubusercontent.com/stripe/openapi/$(OPENAPI_BRANCH)/openapi/spec3.json -P ./embedded/openapi
wget https://raw.githubusercontent.com/stripe/openapi/$(OPENAPI_BRANCH)/openapi/fixtures3.json -P ./embedded/openapi
wget https://raw.githubusercontent.com/stripe/openapi/master/openapi/spec3.json -P ./embedded/openapi
wget https://raw.githubusercontent.com/stripe/openapi/master/openapi/fixtures3.json -P ./embedded/openapi
.PHONY: update-openapi-spec

0 comments on commit beb9a01

Please sign in to comment.