Skip to content

Commit 76f23df

Browse files
authored
Merge pull request #128 from attogram/update-release-workflow-and-readme
Update Release Workflow and README Banners
2 parents 696771d + 25a8dce commit 76f23df

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
env:
4040
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4141
PREVIOUS_TAG: ${{ env.previous_tag }}
42+
GITHUB_REPOSITORY: ${{ github.repository }}
4243
run: |
4344
RELEASE_BODY=$(cat <<EOF
4445
**Ollama Bash Lib $CURRENT_TAG**
@@ -47,7 +48,7 @@ A Bash Library for Ollama
4748

4849
Run LLM prompts straight from your shell, and more
4950

50-
Repo: https://github.com/${{ github.repository }}
51+
Repo: https://github.com/$GITHUB_REPOSITORY
5152
EOF
5253
)
5354

@@ -59,7 +60,7 @@ EOF
5960
fi
6061

6162
# Add link to compare with previous version
62-
RELEASE_BODY="${RELEASE_BODY}See all commits since last release: https://github.com/${{ github.repository }}/compare/${PREVIOUS_TAG}...${CURRENT_TAG}"
63+
RELEASE_BODY="${RELEASE_BODY}See all commits since last release: https://github.com/$GITHUB_REPOSITORY/compare/${PREVIOUS_TAG}...${CURRENT_TAG}"
6364

6465
echo "RELEASENOTES<<EOF" >> $GITHUB_ENV
6566
echo -e "$RELEASE_BODY" >> $GITHUB_ENV

0 commit comments

Comments
 (0)