Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
bbf9deab
Unverified
Commit
bbf9deab
authored
Mar 07, 2024
by
Jannik S
Committed by
GitHub
Mar 07, 2024
Browse files
fix: show lates changes in releases
fix for ##1048
parent
8ed5759d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
.github/workflows/build-release.yml
.github/workflows/build-release.yml
+5
-5
No files found.
.github/workflows/build-release.yml
View file @
bbf9deab
...
@@ -29,11 +29,11 @@ jobs:
...
@@ -29,11 +29,11 @@ jobs:
-
name
:
Extract latest CHANGELOG entry
-
name
:
Extract latest CHANGELOG entry
id
:
changelog
id
:
changelog
run
:
|
run
:
|
CHANGELOG_CONTENT=$(awk '
/^## \[/{n++} n==1
' CHANGELOG.md)
CHANGELOG_CONTENT=$(awk '
BEGIN {print_section=0;} /^## \[/ {if (print_section == 0) {print_section=1;} else {exit;}} print_section {print;}
' CHANGELOG.md)
echo "CHANGELOG_CONTENT
<<EOF"
CHANGELOG_ESCAPED=$(
echo "
$
CHANGELOG_CONTENT
" | sed ':a;N;$!ba;s/\n/%0A/g')
echo "
$CHANGELOG_CONTENT"
echo "
Extracted latest release notes from CHANGELOG.md:"
echo
"EOF
"
echo
-e "$CHANGELOG_CONTENT
"
echo "::set-output name=content::$
{
CHANGELOG_
CONTENT}
"
echo "::set-output name=content::$CHANGELOG_
ESCAPED
"
-
name
:
Create GitHub release
-
name
:
Create GitHub release
uses
:
actions/github-script@v5
uses
:
actions/github-script@v5
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment