Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…shes
  • Loading branch information
moritzzimmer committed Jul 4, 2024
1 parent 309bed9 commit 95c441b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,4 @@ jobs:
run: |
RELEASE_TAG=${GITHUB_REF/refs\/tags\/v/}
echo $RELEASE_TAG
make push LABEL=RELEASE_TAG
make push
9 changes: 2 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,11 @@ build: ## Builds buf image, see https://buf.build/docs/reference/images
@echo "+ $@"
@buf build

# Buf bsr label, see https://buf.build/docs/bsr/module/publish#pushing-with-labels
LABEL ?=
.PHONY: push
push: build ## Pushes tapir to the buf schema registry, see https://buf.build/docs/bsr/introduction
push: build ## Pushes tapir to the buf schema registry, see https://buf.build/docs/bsr/introduction and https://buf.build/docs/bsr/module/publish#pushing-with-labels
@echo "+ $@"
ifeq ($(LABEL),)
@buf push
else
@buf push --label $(LABEL)
endif
@buf push --git-metadata

.PHONY: test
test: generate ## Runs all tests
Expand Down

0 comments on commit 95c441b

Please sign in to comment.