You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Use the hash of the very first commit if no previous tag is found
33
+
PREVIOUS_TAG=$(git rev-list --max-parents=0 HEAD)
34
+
fi
35
+
echo "previous_tag=$PREVIOUS_TAG" >> $GITHUB_ENV
36
+
echo "Previous tag: $PREVIOUS_TAG"
37
+
23
38
- name: Generate Release Notes
24
39
env:
25
40
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41
+
PREVIOUS_TAG: ${{ env.previous_tag }}
26
42
run: |
27
-
RELEASE_BODY="Ollama Bash Lib $CURRENT_TAG\n\nA Bash Library for Ollama\n\nRun LLM prompts straight from your shell, and more\n\nRepo: https://github.com/${{ github.repository }}\n"
43
+
RELEASE_BODY=$(cat <<EOF
44
+
**Ollama Bash Lib $CURRENT_TAG**
45
+
46
+
A Bash Library for Ollama
47
+
48
+
Run LLM prompts straight from your shell, and more
0 commit comments