Skip to content

Commit c1054c7

Browse files
author
Lasim
committed
fix: remove unnecessary empty markdown link cleanup from workflows
- Remove sed command that was cleaning up empty markdown links - Root cause has been fixed in release-it configuration - Apply to both backend and frontend release workflows
1 parent b018577 commit c1054c7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/backend-release-pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ jobs:
7474
END { print content }
7575
' CHANGELOG.md)
7676
77-
# Clean up empty markdown links and remove empty lines
78-
CLEAN_NOTES=$(echo "$RELEASE_NOTES" | sed 's/(\[\]([^)]*))//g' | sed '/^$/d')
77+
# Remove empty lines
78+
CLEAN_NOTES=$(echo "$RELEASE_NOTES" | sed '/^$/d')
7979
8080
# Save to output
8181
echo "release_notes<<EOF" >> $GITHUB_OUTPUT
@@ -129,4 +129,4 @@ jobs:
129129
- name: Show PR link
130130
if: ${{ steps.cpr.outputs.pull-request-url }}
131131
run: |
132-
echo "Backend Release v${{ steps.package-version.outputs.current-version}}' pull request - ${{ steps.cpr.outputs.pull-request-url }}"
132+
echo "Backend Release v${{ steps.package-version.outputs.current-version}}' pull request - ${{ steps.cpr.outputs.pull-request-url }}"

.github/workflows/frontend-release-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
END { print content }
8383
' CHANGELOG.md)
8484
85-
CLEAN_NOTES=$(echo "$RELEASE_NOTES" | sed 's/(\[\]([^)]*))//g' | sed '/^$/d')
85+
CLEAN_NOTES=$(echo "$RELEASE_NOTES" | sed '/^$/d')
8686
8787
echo "release_notes<<EOF" >> $GITHUB_OUTPUT
8888
echo "$CLEAN_NOTES" >> $GITHUB_OUTPUT
@@ -136,4 +136,4 @@ jobs:
136136
- name: Show PR link
137137
if: ${{ steps.cpr.outputs.pull-request-url }}
138138
run: |
139-
echo "Frontend Release v${{ steps.package-version.outputs.current-version}}' pull request - ${{ steps.cpr.outputs.pull-request-url }}"
139+
echo "Frontend Release v${{ steps.package-version.outputs.current-version}}' pull request - ${{ steps.cpr.outputs.pull-request-url }}"

0 commit comments

Comments
 (0)