fixed repository_name var in sendQAMail
This commit is contained in:
parent
3a03c6d24d
commit
a38460736e
@ -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 "<html>" >> email.html
|
||||
echo "<body>" >> email.html
|
||||
echo "<h1>${{ env.GITHUB_REPOSITORY#*/ }} ${{ inputs.tag#*/ }}</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 <a href="https://gitea.greyhound-software.com/${{ env.GITHUB_REPOSITORY }}">${{ env.GITHUB_REPOSITORY#*/ }}</a> wurde erstellt.</h1>" >> email.html
|
||||
echo "<h1>$REPOSITORY_NAME ${{ inputs.version }}</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 <a href="https://gitea.greyhound-software.com/${{ env.GITHUB_REPOSITORY }}">$REPOSITORY_NAME</a> wurde erstellt.</h1>" >> email.html
|
||||
echo "<p><strong>Version:</strong> ${{ inputs.version }}</p>" >> email.html
|
||||
echo "<p><strong>Milestone:</strong> ${{ inputs.milestone }}</p>" >> email.html
|
||||
echo "<p>Liste der gelösten Issues: <a href="https://gitea.greyhound-software.com/${{ env.GITHUB_REPOSITORY }}/milestone/${{ inputs.milestone }}">Issues</a></p>" >> email.html
|
||||
|
Loading…
Reference in New Issue
Block a user