Compare commits

...

7 Commits

Author SHA1 Message Date
Elisiário Couto
73d6bd32db fix: Do not install development dependencies. 2025-09-01 22:46:55 +01:00
Elisiário Couto
6b2c19778b chore(ci): Bump version to 0.6.11 2025-02-23 23:32:21 +00:00
Elisiário Couto
355fa5cfb6 fix: Add workdir to dockerfile last stage. 2025-02-23 23:32:12 +00:00
Elisiário Couto
7cf471402b chore(ci): Bump version to 0.6.10 2025-01-14 01:10:57 +00:00
Elisiário Couto
7480094419 fix(ci): Install uv before publishing. 2025-01-14 01:10:53 +00:00
Elisiário Couto
d69bd5d115 chore(ci): Bump version to 0.6.9 2025-01-14 01:07:42 +00:00
Elisiário Couto
ca29d527c9 chore: Setup PyPI Trusted Publishing. 2025-01-14 01:07:35 +00:00
6 changed files with 52 additions and 11 deletions

View File

@@ -6,23 +6,39 @@ on:
- "**"
jobs:
publish-pypi:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version-file: "pyproject.toml"
- name: Build Package
run: uv build
- name: Store the distribution packages
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
path: dist/
publish-to-pypi:
name: Publish Python distribution to PyPI
runs-on: ubuntu-latest
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
needs:
- build
steps:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Publish package
run: uv publish

View File

@@ -1,4 +1,28 @@
## 0.6.11 (2025/02/23)
### Bug Fixes
- Add workdir to dockerfile last stage. ([355fa5cf](https://github.com/elisiariocouto/leggen/commit/355fa5cfb6ccc4ca225d921cdc2ad77d6bb9b2e6))
## 0.6.10 (2025/01/14)
### Bug Fixes
- **ci:** Install uv before publishing. ([74800944](https://github.com/elisiariocouto/leggen/commit/7480094419697a46515a88a635d4e73820b0d283))
## 0.6.9 (2025/01/14)
### Miscellaneous Tasks
- Setup PyPI Trusted Publishing. ([ca29d527](https://github.com/elisiariocouto/leggen/commit/ca29d527c9e5f9391dfcad6601ad9c585b511b47))
## 0.6.8 (2025/01/13)
### Miscellaneous Tasks

View File

@@ -11,7 +11,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
COPY . /app
RUN --mount=type=cache,target=/root/.cache/uv \
uv sync --frozen --no-editable
uv sync --frozen --no-editable --no-group dev
FROM python:3.13-alpine
@@ -22,8 +22,9 @@ LABEL org.opencontainers.image.title="leggen"
LABEL org.opencontainers.image.description="An Open Banking CLI"
LABEL org.opencontainers.image.url="https://github.com/elisiariocouto/leggen"
# Copy the environment, but not the source code
WORKDIR /app
ENV PATH="/app/.venv/bin:$PATH"
COPY --from=builder --chown=app:app /app/.venv /app/.venv
# Run the application
ENTRYPOINT ["/app/.venv/bin/leggen"]

View File

@@ -1,7 +1,7 @@
import sys
import tomllib
import click
import tomllib
from leggen.utils.text import error

View File

@@ -1,6 +1,6 @@
[project]
name = "leggen"
version = "0.6.8"
version = "0.6.11"
description = "An Open Banking CLI"
authors = [{ name = "Elisiário Couto", email = "elisiario@couto.io" }]
requires-python = "~=3.12"

2
uv.lock generated
View File

@@ -134,7 +134,7 @@ wheels = [
[[package]]
name = "leggen"
version = "0.6.7"
version = "0.6.10"
source = { editable = "." }
dependencies = [
{ name = "click" },