refactor: remove redundant comment from Gitea release workflow
This commit is contained in:
parent
2af23e8084
commit
531d0fe9a2
@ -71,7 +71,6 @@ jobs:
|
|||||||
- name: Read CHANGELOG.md
|
- name: Read CHANGELOG.md
|
||||||
id: changelog
|
id: changelog
|
||||||
run: |
|
run: |
|
||||||
# Remove 'v' prefix from version if present
|
|
||||||
VERSION=$(echo "${{ inputs.gitea_ref_name }}" | sed 's/^v//')
|
VERSION=$(echo "${{ inputs.gitea_ref_name }}" | sed 's/^v//')
|
||||||
CHANGELOG=$(awk "/## \\[$VERSION\\]/{p=1;print;next} /## \\[/ {p=0} p" CHANGELOG.md)
|
CHANGELOG=$(awk "/## \\[$VERSION\\]/{p=1;print;next} /## \\[/ {p=0} p" CHANGELOG.md)
|
||||||
echo "CHANGES<<EOF" >> $GITHUB_OUTPUT
|
echo "CHANGES<<EOF" >> $GITHUB_OUTPUT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user