Skip to content

Commit

Permalink
fixup! Added github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
JanGalek committed Dec 10, 2024
1 parent b8e878c commit aa6d79d
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,25 @@ jobs:
# Zpracování běžného commitu
COMMITS+="<li>$COMMIT_MSG (@$AUTHOR)"
if [[ -n "$REFERENCES" ]]; then
COMMITS+=" (Referenced in: $REFERENCES)"
# Přidání všech odkazů na Issues
if [[ -n "$ISSUE_URLS" ]]; then
COMMITS+=" (Referenced in Issues: "
# Seznam odkazů oddělený mezerou
COMMITS+=$(echo "$ISSUE_URLS" | sed 's/ /, /g')
COMMITS+=")"
fi
# Přidání všech odkazů na komentáře
if [[ -n "$ISSUE_COMMENT_URLS" ]]; then
COMMITS+=" (Referenced in Comments: "
# Seznam odkazů oddělený mezerou
COMMITS+=$(echo "$ISSUE_COMMENT_URLS" | sed 's/ /, /g')
COMMITS+=")"
fi
# Přidání všech odkazů na PRs
if [[ -n "$PR_URLS" ]]; then
COMMITS+=" (Referenced in PRs: $PR_URLS)"
COMMITS+=" (Referenced in PRs: <a href=\"$PR_URLS\" target=\"_blank\">$PR_URLS</a>)"
fi
COMMITS+="</li>"
Expand Down

0 comments on commit aa6d79d

Please sign in to comment.