No project description provided
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
clup-0.1.0.tar.gz
(3.8 kB
view details)
Built Distribution
clup-0.1.0-py3-none-any.whl
(5.1 kB
view details)
File details
Details for the file clup-0.1.0.tar.gz
.
File metadata
- Download URL: clup-0.1.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.1 Linux/6.5.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66498036633d7020526cfb938926c484f9ec5e4acdfd9afed51df3e2bcd462fd |
|
MD5 | 3b5aa28456df7726fcd2f95cd9adba71 |
|
BLAKE2b-256 | 4b10d1223ce11a280aad8696c2e93d7a238e34540e6914ea79a2b69eef807e78 |
File details
Details for the file clup-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: clup-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.1 Linux/6.5.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ac12ee195e9c7f0eb40e21aebb5a507e663c3a906d8f36b4416611b01c633cb |
|
MD5 | f9bec081c88eb36403fcf2951b3f4890 |
|
BLAKE2b-256 | 01ae4fc2f0127e9c0fe620f554fa1905bc414eaa218b0c5102107f28949a4093 |