Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.19468976.svg)](https://doi.org/10.5281/zenodo.19468976)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
[![Version](https://img.shields.io/badge/version-0.4.1-blue.svg)](https://github.com/SoftwareUnderstanding/sw-metadata-bot/releases)
[![Version](https://img.shields.io/badge/version-0.4.2-blue.svg)](https://github.com/SoftwareUnderstanding/sw-metadata-bot/releases)
[![Python 3.11--3.12](https://img.shields.io/badge/python-3.11--3.12-blue.svg)](https://www.python.org/downloads/)
[![CI (build)](https://github.com/SoftwareUnderstanding/sw-metadata-bot/actions/workflows/ci.yml/badge.svg)](https://github.com/SoftwareUnderstanding/sw-metadata-bot/actions/workflows/ci.yml)
[![Code style: ruff](https://img.shields.io/badge/code%20style-ruff-000000.svg)](https://github.com/astral-sh/ruff)
Expand Down
4 changes: 2 additions & 2 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
],
"codeRepository": "https://github.com/SoftwareUnderstanding/sw-metadata-bot",
"dateCreated": "2025-12-15",
"dateModified": "2026-04-09",
"dateModified": "2026-04-27",
"datePublished": "2026-01-16",
"description": "A repository to keep the code of the RSMetaCheck bot for pushing issues with existing repository metadata",
"downloadUrl": "https://github.com/SoftwareUnderstanding/sw-metadata-bot/releases",
Expand All @@ -38,7 +38,7 @@
"python-dotenv>=1.0.0",
"requests>=2.32.5"
],
"version": "0.4.1",
"version": "0.4.2",
"codemeta:contIntegration": {
"@id": "https://raw.githubusercontent.com/SoftwareUnderstanding/sw-metadata-bot/main/.github/workflows/ci.yml"
},
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "sw-metadata-bot"
version = "0.4.1"
version = "0.4.2"
description = "Metadata quality bot for software repositories, leveraging metacheck for analysis and GitHub/GitLab APIs for issue management."
readme = "README.md"
requires-python = ">=3.11,<3.13"
Expand Down
9 changes: 2 additions & 7 deletions tools/release/update_version_package.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
"""Utility function to update version in all relevant files in the current package"""

import argparse
import json
import re
from datetime import date
from importlib import import_module
from pathlib import Path

try:
tomllib = import_module("tomllib")
except ModuleNotFoundError: # pragma: no cover - Python 3.10 fallback for doc builds
tomllib = import_module("tomli")

import argparse
import tomllib


def get_project_root() -> Path:
Expand Down
2 changes: 1 addition & 1 deletion update_version_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ uv sync
NEW_VERSION=$(uv run python -c "from importlib.metadata import version; print(version('sw-metadata-bot'))")
echo "Updated version to $NEW_VERSION"
# commit the changes
git add pyproject.toml codemeta.json uv.lock
git add pyproject.toml codemeta.json uv.lock README.md
git commit -m "Update version to $NEW_VERSION"
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading