3 Commits
0.0.1 ... main

Author SHA1 Message Date
e7df5a06c4 release: version 0.0.2 🚀
All checks were successful
Upload Python Package / Create Release (push) Successful in 8s
Upload Python Package / deploy (push) Successful in 1m23s
2026-03-01 17:00:39 +01:00
95679835fa fix: broken version increment logic refs NOISSUE 2026-03-01 17:00:33 +01:00
885cf13117 fix: fix Containerfile refs NOISSUE 2026-03-01 16:55:19 +01:00
4 changed files with 17 additions and 19 deletions

View File

@@ -1,9 +1,9 @@
FROM docker.n8n.io/n8nio/n8n
FROM n8nio/n8n:latest
USER root
RUN mkdir -p /opt/extra && \\
npm --prefix /opt/extra install @langchain/ollama@1.0.3 && \\
cp /opt/extra/node_modules/@langchain/ollama/dist/utils.* $(dirname $(find /usr/local/lib/ -name utils.js | grep ollama)) && \\
chown -R node:node /opt/extra
RUN mkdir -p /opt/extra
RUN npm --prefix /opt/extra install @langchain/ollama@1.0.3
RUN cp /opt/extra/node_modules/@langchain/ollama/dist/utils.* $(dirname $(find /usr/local/lib/ -name utils.js | grep ollama))
RUN chown -R node:node /opt/extra
USER node

View File

@@ -5,6 +5,15 @@ Changelog
(unreleased)
------------
Fix
~~~
- Broken version increment logic refs NOISSUE. [Simon Diesenreiter]
- Fix Containerfile refs NOISSUE. [Simon Diesenreiter]
0.0.1 (2026-03-01)
------------------
Fix
~~~
- Add missing tempalte file. [Simon Diesenreiter]

View File

@@ -1,6 +1,4 @@
.ONESHELL:
ENV_PREFIX=$(shell python -c "if __import__('pathlib').Path('.venv/bin/pip').exists(): print('.venv/bin/')")
USING_POETRY=$(shell grep "tool.poetry" pyproject.toml && echo "yes")
.PHONY: issetup
issetup:
@@ -32,20 +30,11 @@ lint: issetup ## Run pep8, black, mypy linters.
.PHONY: release
release: issetup ## Create a new tag for release.
@echo "WARNING: This operation will create a version tag and push to gitea"
@read -p "Version? (provide the next x.y.z semver) : " TAG
@echo "$${TAG}" > n8n_ollama/VERSION
@$(ENV_PREFIX)gitchangelog > HISTORY.md
@git add n8n_ollama/VERSION HISTORY.md
@git commit -m "release: version $${TAG} 🚀"
@echo "creating git tag : $${TAG}"
@git tag $${TAG}
@git push -u origin HEAD --tags
@echo "Gitea Actions will detect the new tag and release the new version."
@./.gitea/conventional_commits/generate-version.sh
.PHONY: build
build: issetup ## Create a new tag for release.
@docker build -t n8n_ollama:$(cat n8n_ollama/VERSION) -f Containerfile .
@docker build -t n8n_ollama:$$(cat n8n_ollama/VERSION) -f Containerfile .
# This project has been generated from rochacbruno/python-project-template
# __author__ = 'rochacbruno'

View File

@@ -1 +1 @@
0.0.1
0.0.2