From 7c88096fac77b3f224e66eaa9850f93ad14fd951 Mon Sep 17 00:00:00 2001 From: Robert Rosendahl Date: Fri, 17 Jan 2025 10:16:44 +0100 Subject: [PATCH] fixed repository_name var in sendQAMail --- .gitea/workflows/sendQAMail.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/sendQAMail.yaml b/.gitea/workflows/sendQAMail.yaml index 8dcb9ff..235a90e 100644 --- a/.gitea/workflows/sendQAMail.yaml +++ b/.gitea/workflows/sendQAMail.yaml @@ -34,7 +34,9 @@ jobs: - name: Create Email run: | - echo "Subject: Neues Release [${{ env.GITHUB_REPOSITORY }}]" > email.html + REPOSITORY_NAME=$(basename ${{ env.GITHUB_REPOSITORY }}) + + echo "Subject: Neues Release [$REPOSITORY_NAME]" > email.html echo "From: ${{ vars.SMTP_SENDER }}" >> email.html echo "To: ${{ vars.SMTP_QA_RECIPIENT }}" >> email.html echo "Content-Type: text/html; charset=UTF-8" >> email.html @@ -43,7 +45,7 @@ jobs: echo "" >> email.html echo "" >> email.html echo "" >> email.html - echo "

Ein neues Release für ${{ env.GITHUB_REPOSITORY }} wurde erstellt.

" >> email.html + echo "

Ein neues Release für $REPOSITORY_NAME wurde erstellt.

" >> email.html echo "

Version: ${{ inputs.version }}

" >> email.html echo "

Milestone: ${{ inputs.milestone }}

" >> email.html echo "

Eine Auflistung der gelösten Issues findest du hier

" >> email.html