File tree Expand file tree Collapse file tree 2 files changed +40
-1
lines changed Expand file tree Collapse file tree 2 files changed +40
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Release with Shell Script and Description
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*' # Triggers on tags like v1.0.0
7+
8+ permissions :
9+ contents : write
10+
11+ jobs :
12+ release :
13+ name : Create GitHub Release
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - name : Checkout repository
18+ uses : actions/checkout@v4
19+
20+ - name : Set current tag
21+ run : echo "CURRENT_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
22+
23+ - name : Generate Release Notes
24+ env :
25+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26+ run : |
27+ RELEASE_BODY="Ollama Bash Toolshed $CURRENT_TAG\n\nRepo: https://github.com/${{ github.repository }}\n"
28+ echo "RELEASENOTES<<EOF" >> $GITHUB_ENV
29+ echo -e "$RELEASE_BODY" >> $GITHUB_ENV
30+ echo "EOF" >> $GITHUB_ENV
31+
32+ - name : Create GitHub Release
33+ uses : softprops/action-gh-release@v2
34+ with :
35+ tag_name : ${{ env.CURRENT_TAG }}
36+ name : " Ollama Bash Toolshed ${{ env.CURRENT_TAG }}"
37+ body : ${{ env.RELEASENOTES }}
38+ env :
39+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 99# ./toolshed.sh modelName
1010
1111NAME=" ollama-bash-toolshed"
12- VERSION=" 0.45.0 "
12+ VERSION=" 0.45.1 "
1313URL=" https://github.com/attogram/ollama-bash-toolshed"
1414
1515DEBUG_MODE=" 0" # change with: /config verbose [on|off]
You can’t perform that action at this time.
0 commit comments