Skip to content

Commit

Permalink
update proto-gen docker image to a new one and remove manual install …
Browse files Browse the repository at this point in the history
…of cosmos-proto/protoc-gen-gocosmos during proto gen
  • Loading branch information
rach-id committed Sep 23, 2022
1 parent a8b1ad8 commit 13a9db9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ test:
.PHONY: test

proto-gen:
$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace tendermintdev/sdk-proto-gen:latest sh ./scripts/protocgen.sh
$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace tendermintdev/sdk-proto-gen:v0.7 sh ./scripts/protocgen.sh

proto-lint:
@$(DOCKER_BUF) lint --error-format=json
Expand Down
2 changes: 0 additions & 2 deletions scripts/protocgen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ protoc_gen_gocosmos() {
echo -e "\tPlease run this command from somewhere inside the cosmos-sdk folder."
return 1
fi

go get github.com/regen-network/cosmos-proto/protoc-gen-gocosmos@latest 2>/dev/null
}

protoc_gen_gocosmos
Expand Down

0 comments on commit 13a9db9

Please sign in to comment.