Skip to content

Commit 9888f26

Browse files
authored
Remove release owner email check (#40)
1 parent 0b4643d commit 9888f26

1 file changed

Lines changed: 2 additions & 18 deletions

File tree

β€ŽMakefileβ€Ž

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
.PHONY: sync lint format test test-devtools test-plugins validate docs docs-server plugin-docs catalog package-index check-plugin-docs check-catalog check-package-index qa-package-index codeowners check-codeowners check-license-headers update-license-headers check all bump release build-plugin validate-release test-plugin check-owner
4+
.PHONY: sync lint format test test-devtools test-plugins validate docs docs-server plugin-docs catalog package-index check-plugin-docs check-catalog check-package-index qa-package-index codeowners check-codeowners check-license-headers update-license-headers check all bump release build-plugin validate-release test-plugin
55

66
# ── Setup ────────────────────────────────────────────────────────────────
77

@@ -140,23 +140,7 @@ test-plugin:
140140
build-plugin: validate-release
141141
uv build "$(PLUGIN_DIR)" --out-dir dist/
142142

143-
check-owner:
144-
@if [ -z "$(PLUGIN)" ]; then echo "ERROR: Set PLUGIN=<name>"; exit 1; fi
145-
@USER_EMAIL=$$(git config user.email); \
146-
OWNERS=$$(grep -v '^\s*#' "$(PLUGIN_DIR)/CODEOWNERS" | grep -v '^\s*$$' | awk '{for(i=2;i<=NF;i++) print $$i}'); \
147-
MATCH=0; \
148-
for owner in $$OWNERS; do \
149-
case "$$owner" in *"$$USER_EMAIL"*) MATCH=1;; esac; \
150-
done; \
151-
if [ "$$MATCH" -eq 0 ]; then \
152-
echo "WARNING: $$USER_EMAIL is not listed in $(PLUGIN_DIR)/CODEOWNERS"; \
153-
echo "Listed owners: $$OWNERS"; \
154-
echo ""; \
155-
read -p "Continue anyway? (y/N) " confirm; \
156-
[ "$$confirm" = "y" ] || [ "$$confirm" = "Y" ] || exit 1; \
157-
fi
158-
159-
release: check-owner test-plugin build-plugin
143+
release: test-plugin build-plugin
160144
@PLUGIN_VERSION=$$(uv run python -c "import tomllib; print(tomllib.load(open('$(PLUGIN_DIR)/pyproject.toml','rb'))['project']['version'])"); \
161145
echo "Creating tag: $(PLUGIN)/v$$PLUGIN_VERSION"; \
162146
git tag "$(PLUGIN)/v$$PLUGIN_VERSION"; \

0 commit comments

Comments
Β (0)