Skip to content

Commit

Permalink
update goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
akhilkumarpilli committed Feb 20, 2024
1 parent 4733edd commit f32f716
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ before:
hooks:
- make clean
- make tidy
- make proto-gen
- make swagger
- sudo make proto-gen
- sudo make swagger

builds:
- id: linux-amd64
Expand Down
3 changes: 0 additions & 3 deletions make/proto.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(con
proto-all: proto-gen proto-swagger-gen

proto-gen:
sudo find ../ -type d -exec chmod 777 {} +
@echo "Generating Protobuf files"
@$(protoImage) sh ./scripts/protocgen.sh;
go mod tidy
Expand All @@ -31,8 +30,6 @@ proto-lint:
@$(protoImage) buf lint --error-format=json

proto-swagger-gen:
sudo find ../ -type d -exec chmod 777 {} +
sudo chmod 666 ./app/client/docs/swagger.yaml
@echo "Generating Protobuf Swagger"
@$(protoImage) sh ./scripts/protoc-swagger-gen.sh;

Expand Down

0 comments on commit f32f716

Please sign in to comment.