1
0

with owner

This commit is contained in:
Marco Maatz 2025-01-17 10:05:34 +01:00
parent 4164f90c69
commit e15b127010

View File

@ -34,8 +34,6 @@ jobs:
- name: Create Email - name: Create Email
run: | run: |
REPOSITORY_NAME=$(basename ${{ env.GITHUB_REPOSITORY }})
echo "Subject: Neues Release [${{ env.GITHUB_REPOSITORY }}]" > email.html echo "Subject: Neues Release [${{ env.GITHUB_REPOSITORY }}]" > email.html
echo "From: ${{ vars.SMTP_SENDER }}" >> email.html echo "From: ${{ vars.SMTP_SENDER }}" >> email.html
echo "To: ${{ vars.SMTP_QA_RECIPIENT }}" >> email.html echo "To: ${{ vars.SMTP_QA_RECIPIENT }}" >> email.html
@ -45,7 +43,7 @@ jobs:
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD Html 4.01 Transitional//EN\">" >> email.html echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD Html 4.01 Transitional//EN\">" >> email.html
echo "<html>" >> email.html echo "<html>" >> email.html
echo "<body>" >> email.html echo "<body>" >> email.html
echo "<h1>Ein neues <a href=\"https://gitea.greyhound-software.com/${{ env.GITHUB_REPOSITORY }}/releases/tag/${{ inputs.tag }}\">Release</a> für $REPOSITORY_NAME wurde erstellt.</h1>" >> email.html echo "<h1>Ein neues <a href=\"https://gitea.greyhound-software.com/${{ env.GITHUB_REPOSITORY }}/releases/tag/${{ inputs.tag }}\">Release</a> für ${{ env.GITHUB_REPOSITORY }} wurde erstellt.</h1>" >> email.html
echo "<p><strong>Version:</strong> ${{ inputs.version }}</p>" >> email.html echo "<p><strong>Version:</strong> ${{ inputs.version }}</p>" >> email.html
echo "<p><strong>Milestone:</strong> ${{ inputs.milestone }}</p>" >> email.html echo "<p><strong>Milestone:</strong> ${{ inputs.milestone }}</p>" >> email.html
echo "<p>Eine Auflistung der gelösten Issues findest du <a href=\"https://gitea.greyhound-software.com/greyhound/dashboard/milestone/${{ inputs.milestone }}\">hier</a> </p>" >> email.html echo "<p>Eine Auflistung der gelösten Issues findest du <a href=\"https://gitea.greyhound-software.com/greyhound/dashboard/milestone/${{ inputs.milestone }}\">hier</a> </p>" >> email.html