fix: base64 decode in CI
Some checks failed
Auto Tag on Version Change / check-version (push) Failing after 2s

This commit is contained in:
2026-05-14 06:38:34 +05:00
parent 1415b19d60
commit 64ee2dfeb1

View File

@@ -24,17 +24,18 @@ jobs:
- name: Extract release notes
run: |
VERSION="${{ gitea.ref_name }}"
VERSION="${VERSION#v}"
awk -v ver="$VERSION" '
BEGIN { found=0 }
/^## \[/ {
if (found) exit
if ($0 ~ "\\[" ver "\\]") { found=1; next }
}
found { print }
' CHANGELOG.md > release_notes.md
echo "No release notes" > release_notes.md
# VERSION="${{ gitea.ref_name }}"
# VERSION="${VERSION#v}"
#
# awk -v ver="$VERSION" '
# BEGIN { found=0 }
# /^## \[/ {
# if (found) exit
# if ($0 ~ "\\[" ver "\\]") { found=1; next }
# }
# found { print }
# ' CHANGELOG.md > release_notes.md
- name: Create Gitea Release
env: