From 24d29f2b0978abd5884704d80cd073a6b678f514 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Wed, 4 Jun 2025 19:43:26 +0200 Subject: [PATCH] chore(ci): cleanup scripts --- .gitea/scripts/add-annotations.sh | 2 -- .gitea/workflows/release.yaml | 5 ----- 2 files changed, 7 deletions(-) diff --git a/.gitea/scripts/add-annotations.sh b/.gitea/scripts/add-annotations.sh index 6521911..6858bf1 100755 --- a/.gitea/scripts/add-annotations.sh +++ b/.gitea/scripts/add-annotations.sh @@ -79,8 +79,6 @@ function map_type_to_kind() { esac } -git log --pretty=format:"%s" "${OLD_TAG}..${NEW_TAG}" - COMMIT_TITLES="$(git log --pretty=format:"%s" "${OLD_TAG}..${NEW_TAG}")" echo "INFO: Generate change log entries from ${OLD_TAG} until ${NEW_TAG}" diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 05782c4..6970d6a 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -2,8 +2,6 @@ name: Release on: push: - branches: - - master tags: - "**" @@ -24,11 +22,8 @@ jobs: - name: Add Artifacthub.io annotations run: | - git tag - NEW_TAG="$(git tag --sort=-version:refname | head -n 1)" OLD_TAG="$(git tag --sort=-version:refname | head -n 2 | tail -n 1)" - .gitea/scripts/add-annotations.sh "${OLD_TAG}" "${NEW_TAG}" - name: Package chart