fix: base64 decode in CI
Some checks failed
Auto Tag on Version Change / check-version (push) Failing after 2s
Some checks failed
Auto Tag on Version Change / check-version (push) Failing after 2s
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user