Skip to content

Commit

Permalink
fix(versionning): change version number format and add badges
Browse files Browse the repository at this point in the history
  • Loading branch information
jlebunetel committed Feb 21, 2024
1 parent 9e733a9 commit d97add3
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 6 deletions.
13 changes: 10 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
## v0.3.0 (2024-02-20)
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 0.3.0 (2024-02-20)

### Feat

- **logging**: set up logging
- **logging**: add json logger and rich dependencies

## v0.2.0 (2024-02-19)
## 0.2.0 (2024-02-19)

### Feat

Expand All @@ -16,7 +23,7 @@

- **pre-commit**: add pydantic to additional_dependencies

## v0.1.0 (2024-02-19)
## 0.1.0 (2024-02-19)

### Feat

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# toolbox
A generic application to make the development of Django modules easier.

![version](https://img.shields.io/badge/version-0.3.0-blue)
![python_version](https://img.shields.io/badge/python-3.12-blue)
![pre-commit_action](https://github.com/jlebunetel/toolbox/actions/workflows/pre-commit.yml/badge.svg)

## Features

- Provides a generic Django web app.
Expand Down
10 changes: 7 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "toolbox"
version = "v0.3.0"
dynamic = ["version"]
requires-python = ">= 3.12"
dependencies = [
"django >= 5.0",
Expand Down Expand Up @@ -108,7 +108,11 @@ omit = [
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.3.0"
version_files = ["pyproject.toml:version"]
tag_format = "v$version"
version_files = [
"pyproject.toml:version",
"README.md:version-",
"toolbox/__init__.py:__version__",
]
tag_format = "$version"
update_changelog_on_bump = true
annotated_tag = true
3 changes: 3 additions & 0 deletions toolbox/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"""toolbox, a generic application to make the development of Django modules easier."""

__version__ = "v0.3.0"

0 comments on commit d97add3

Please sign in to comment.