Skip to content

Commit 40bbf82

Browse files
committed
Welcome to Ollama Lib Eval
1 parent c98dfbd commit 40bbf82

File tree

4 files changed

+1272
-1
lines changed

4 files changed

+1272
-1
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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 Eval $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 with file ollama_bash_lib.sh
33+
uses: softprops/action-gh-release@v2
34+
with:
35+
tag_name: ${{ env.CURRENT_TAG }}
36+
name: "Ollama Bash Eval ${{ env.CURRENT_TAG }}"
37+
body: ${{ env.RELEASENOTES }}
38+
files: oe
39+
env:
40+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.idea
2+

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
# Ollama Bash Eval
22

3-
The oe command uses local LLMs via Ollama to translate your natural language requests into executable shell commands. For safety, it always shows you the generated command and asks for your approval before running anything. Stop forgetting the right flags for tar or git—just ask.
3+
The `oe` command uses local LLMs via Ollama to translate your natural language requests into executable shell commands.
4+
5+
For safety, it always shows you the generated command and asks for your approval before running anything.
6+
7+
Stop forgetting the right flags for tar or git, just ask!

0 commit comments

Comments
 (0)