From a38460736e5b626645596cbf4438b64025d89221 Mon Sep 17 00:00:00 2001 From: Robert Rosendahl Date: Thu, 16 Jan 2025 22:49:27 +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 b2d727b..36fe990 100644 --- a/.gitea/workflows/sendQAMail.yaml +++ b/.gitea/workflows/sendQAMail.yaml @@ -34,6 +34,8 @@ jobs: - name: Create Email run: | + REPOSITORY_NAME=${{env.GITHUB_REPOSITORY#*/}} + echo "Subject: Neues Release: [${{ env.GITHUB_REPOSITORY#*/ }}]" > email.html echo "From: ${{ vars.SMTP_SENDER }}" >> email.html echo "To: ${{ vars.SMTP_QA_RECIPIENT }}" >> email.html @@ -43,8 +45,8 @@ jobs: echo "" >> email.html echo "" >> email.html echo "" >> email.html - echo "

${{ env.GITHUB_REPOSITORY#*/ }} ${{ inputs.tag#*/ }}

" >> email.html - echo "

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

" >> email.html + echo "

$REPOSITORY_NAME ${{ inputs.version }}

" >> 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 "

Liste der gelösten Issues: Issues

" >> email.html