From aa3bb60a51bbafa98eb4e6051d0ff73d83a0d6c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Wed, 13 Sep 2023 14:11:26 +0200 Subject: [PATCH] Fix tags for feature branch --- c2cciutils/scripts/publish.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c2cciutils/scripts/publish.py b/c2cciutils/scripts/publish.py index 36027b037..9c3134832 100644 --- a/c2cciutils/scripts/publish.py +++ b/c2cciutils/scripts/publish.py @@ -223,7 +223,7 @@ def main() -> None: break alt_tags = set() - if "Alternate Tag" in security.headers: + if "Alternate Tag" in security.headers and row_index >= 0: tag_index = security.headers.index("Alternate Tag") alt_tags = {t.strip() for t in security.data[row_index][tag_index].split(",")} if security.data[-1][version_index] == version: