Skip to content

Commit e4323f6

Browse files
authored
Merge pull request #129 from attogram/update-release-workflow-and-readme
feat: Improve release workflow and update README
2 parents 98f0fb9 + cb2ec75 commit e4323f6

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/workflows/create.release.for.tag.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,22 +41,25 @@ jobs:
4141
PREVIOUS_TAG: ${{ env.previous_tag }}
4242
GITHUB_REPOSITORY: ${{ github.repository }}
4343
run: |
44-
RELEASE_BODY=$(cat <<EOF
45-
**Ollama Bash Lib $CURRENT_TAG**
44+
RELEASE_BODY="**Ollama Bash Lib $CURRENT_TAG**
4645
47-
A Bash Library for Ollama
46+
A Bash Library for Ollama
4847
49-
Run LLM prompts straight from your shell, and more
48+
Run LLM prompts straight from your shell, and more
5049
51-
Repo: https://github.com/$GITHUB_REPOSITORY
52-
EOF
53-
)
50+
Repo: https://github.com/$GITHUB_REPOSITORY"
5451
5552
# Generate changelog
5653
CHANGELOG=$(git log --pretty=format:"* %s (%h)" $PREVIOUS_TAG..$CURRENT_TAG)
5754
5855
if [ -n "$CHANGELOG" ]; then
59-
RELEASE_BODY="${RELEASE_BODY}**Full Changelog**:\n\n${CHANGELOG}\n\n"
56+
RELEASE_BODY="${RELEASE_BODY}
57+
58+
**Full Changelog**:
59+
60+
${CHANGELOG}
61+
62+
"
6063
fi
6164
6265
# Add link to compare with previous version

0 commit comments

Comments
 (0)