fix: base64 decode in CI

This commit is contained in:
2026-05-14 06:38:34 +05:00
parent 1415b19d60
commit 64ee2dfeb1
+12 -11
View File
@@ -24,17 +24,18 @@ jobs:
- name: Extract release notes - name: Extract release notes
run: | run: |
VERSION="${{ gitea.ref_name }}" echo "No release notes" > release_notes.md
VERSION="${VERSION#v}" # VERSION="${{ gitea.ref_name }}"
# VERSION="${VERSION#v}"
awk -v ver="$VERSION" ' #
BEGIN { found=0 } # awk -v ver="$VERSION" '
/^## \[/ { # BEGIN { found=0 }
if (found) exit # /^## \[/ {
if ($0 ~ "\\[" ver "\\]") { found=1; next } # if (found) exit
} # if ($0 ~ "\\[" ver "\\]") { found=1; next }
found { print } # }
' CHANGELOG.md > release_notes.md # found { print }
# ' CHANGELOG.md > release_notes.md
- name: Create Gitea Release - name: Create Gitea Release
env: env: