https://github.com/agateau/releasetools
Command-line tools to help releasing software
https://github.com/agateau/releasetools
Last synced: 9 months ago
JSON representation
Command-line tools to help releasing software
- Host: GitHub
- URL: https://github.com/agateau/releasetools
- Owner: agateau
- Created: 2020-09-28T06:34:19.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-28T11:25:23.000Z (about 5 years ago)
- Last Synced: 2025-02-13T19:49:48.754Z (11 months ago)
- Language: Python
- Size: 19.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Releasetools
## Assumptions
- Currently released version can be obtained from the latest git tag.
- Git is in $PATH.
- Tags are created on a "main" branch.
- Releases are prepared on a "work" branch.
## Commands
### rlt-version
- Print released version with `rlt-version --released`.
- Print next version with `rlt-version --next`.
- Set next version with `rlt-version --set-next `.
### rlt-changelog
Prints a summary of the changes between the released version and HEAD.
### rlt-updateworkbranch
Makes sure work branch is up to date.
### rlt-tag
Creates tag for the next version.
## releasetools.toml
Create this file in the root directory of your project to customize Releasetools behavior.
```
[git]
main_branch="master"
tag_prefix=""
work_branch="dev"
[version]
file="CMakeLists.txt"
pattern="^ VERSION (.*)$"
[changelog]
git_log_options="--pretty=format:- \\%s (\\%an)"
```