Skip to content

Commit 25de720

Browse files
committed
Welcome to Ollama Bash Toolshed
1 parent 83d0d8c commit 25de720

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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 }}

toolshed.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# ./toolshed.sh modelName
1010

1111
NAME="ollama-bash-toolshed"
12-
VERSION="0.45.0"
12+
VERSION="0.45.1"
1313
URL="https://github.com/attogram/ollama-bash-toolshed"
1414

1515
DEBUG_MODE="0" # change with: /config verbose [on|off]

0 commit comments

Comments
 (0)