Clup (Change log upper)
This Python script updates a CHANGELOG.md file by adding a new version entry with the specified version number and date.
Features:
- Adds a new version entry under the "Unreleased" section.
- Updates the link for the "Unreleased" section to point to the new version.
- Generates a comparison link for the new version against the previous one.
Installation
pip install clup
Usage
To run the script, use the following command:
python script.py <path_to_changelog> <new_version> <release_date>
Arguments:
- <path_to_changelog>: Path to the CHANGELOG.md file. (Default: CHANGELOG.md)
- <new_version>: New version number to be added. (e.g., 1.0.1)
- <release_date>: Release date for the new version. (e.g., 2024-06-15)
Example
python script.py CHANGELOG.md 1.0.1 2024-06-15
This command will update the CHANGELOG.md file by adding an entry for version 1.0.1 with the release date 2024-06-15.
License
This project is licensed under the MIT License.
Release files for clup 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| clup-0.1.0.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| clup-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.9 kB
Release files / clup-0.1.0.tar.gz
| Download URL | clup-0.1.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66498036633d7020526cfb938926c484f9ec5e4acdfd9afed51df3e2bcd462fd
|
|
BLAKE2b-256 checksum How to use checksums |
4b10d1223ce11a280aad8696c2e93d7a238e34540e6914ea79a2b69eef807e78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.1 Linux/6.5.0-1021-azure
|
Release files / clup-0.1.0-py3-none-any.whl
| Download URL | clup-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2ac12ee195e9c7f0eb40e21aebb5a507e663c3a906d8f36b4416611b01c633cb
|
|
BLAKE2b-256 checksum How to use checksums |
01ae4fc2f0127e9c0fe620f554fa1905bc414eaa218b0c5102107f28949a4093
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.1 Linux/6.5.0-1021-azure
|