From 9bea573fa8ac4eac3e9a6def4310749f62c8a801 Mon Sep 17 00:00:00 2001 From: geo7 Date: Wed, 15 Apr 2026 00:53:32 +0100 Subject: [PATCH] refine release process and update project metadata --- README.md | 4 ++-- pyproject.toml | 9 +++++++++ scripts/release.sh | 7 +++++-- uv.lock | 2 +- 4 files changed, 17 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f012b41..82085f8 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) [![PyPI Latest Release](https://img.shields.io/pypi/v/retry-cli.svg)](https://pypi.org/project/retry-cli/) [![License](https://img.shields.io/pypi/l/retry-cli.svg)](https://github.com/geo7/retry-cli/blob/main/LICENSE) -[![Python Versions](https://img.shields.io/pypi/pyversions/retry-cli.svg)](https://pypi.python.org/pypi/retry-cli) -[![CI Status](https://github.com/geo7/retry-cli/workflows/CI/badge.svg)](https://github.com/geo7/retry-cli/actions) +[![Python Versions](https://img.shields.io/pypi/pyversions/retry-cli.svg)](https://pypi.org/project/retry-cli/) +[![CI Status](https://github.com/geo7/retry-cli/actions/workflows/test.yml/badge.svg)](https://github.com/geo7/retry-cli/actions) A utility to run a shell command a set number of times with automatic retries on failure. diff --git a/pyproject.toml b/pyproject.toml index ba2f50a..81dd8de 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,6 +10,15 @@ license = "MIT" license-files = ["LICENSE"] keywords = ["cli", "retry", "automation", "tooling", "development"] requires-python = ">=3.14" +classifiers = [ + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.14", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "Topic :: Software Development :: Build Tools", +] dependencies = [] [project.urls] diff --git a/scripts/release.sh b/scripts/release.sh index 812e9c1..5bc51ea 100644 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -109,6 +109,9 @@ if parsed_version != new_version: ) PY +echo "Syncing lockfile..." +uv sync --all-extras + echo "Running verification steps for ${TAG}..." CI=true bash ./scripts/lint.sh CI=true bash ./scripts/test.sh @@ -117,8 +120,8 @@ CI=true bash ./scripts/test.sh uv build echo "Committing version bump..." -git add pyproject.toml -git commit -m "chore: bump version to ${TAG}" +git add pyproject.toml uv.lock +git commit --no-verify -m "chore: bump version to ${TAG}" echo "Creating annotated tag ${TAG}..." git tag -a "${TAG}" -m "Release ${TAG}" diff --git a/uv.lock b/uv.lock index ba5ffed..0827312 100644 --- a/uv.lock +++ b/uv.lock @@ -457,7 +457,7 @@ wheels = [ [[package]] name = "retry-cli" -version = "0.1.0" +version = "0.1.1" source = { editable = "." } [package.dev-dependencies]