Skip to content

Commit

Permalink
Merge pull request #308 from callowayproject/release-1-0
Browse files Browse the repository at this point in the history
Version 1.0 release
  • Loading branch information
coordt authored Mar 2, 2025
2 parents 1f23c20 + 26e2b83 commit 02154c0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
5 changes: 4 additions & 1 deletion .changelog-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ summary_pipeline:

# Process the commit's body for use in the changelog.
body_pipeline:
- action: ParseBreakingChangeFooter
comment: Check for breaking changes.
kwargs:
commit_metadata: save_commit_metadata
- action: ParseTrailers
comment: Parse the trailers into metadata.
kwargs:
Expand Down Expand Up @@ -132,5 +136,4 @@ release_hint_rules:
branch: master|main
- match_result: major
grouping: Breaking Changes
path: bumpversion/*
branch: master|main
21 changes: 16 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,21 @@ Bump My Version's purpose is to:

- Work as a part of an automated build system
- Manage project versioning through the project's development life cycle
- Incrementing version numbers
- serializing version numbers
- Incrementing and serializing version numbers
- parsing version numbers
- supporting SemVer, CalVer, and other versioning schemes
- Modify project files as part of the project's development life cycle
- Search and replace data in project files
- Work with the project's source control system
- Committing changes
- Tagging releases
- Reading version numbers from tags

## Installation

You can download and install the latest version of this software from the Python package index (PyPI) as follows:
To install Bump My Version as an independent tool, use [uv](https://docs.astral.sh/uv/getting-started/installation/) to install it on your system.

```console
pip install --upgrade bump-my-version
uv tool install bump-my-version
```

## Changelog
Expand Down Expand Up @@ -90,6 +89,18 @@ $ bump-my-version show-bump 1.2.3

The default configuration only allows bumping the major, minor, or patch version. What if you wanted to support pre-release versions?

### Get the new version in a script

If you want to get the new version within a script, you can use the [`show`](https://callowayproject.github.io/bump-my-version/reference/cli/#bump-my-version-show) method.

```console title="Extract the new version"
$ bump-my-version show current_version
1.2.3
$ bump-my-version show --increment minor new_version
1.3.3
```


### Add support for pre-release versions

Alter the `parse` configuration to support pre-release versions. This `parse` option uses an extended (or verbose) regular expression to extract the version components from the current version.
Expand Down

0 comments on commit 02154c0

Please sign in to comment.