2020-01-09 13:13:20 +05:30
|
|
|
# Changelog
|
|
|
|
A changelog generator for Gitea
|
2017-08-25 12:22:51 +05:30
|
|
|
|
2020-01-09 13:13:20 +05:30
|
|
|
[![Build Status](https://drone.gitea.com/api/badges/gitea/changelog/status.svg)](https://drone.gitea.com/gitea/changelog)
|
2017-08-25 12:22:51 +05:30
|
|
|
|
|
|
|
## Purpose
|
|
|
|
|
2020-01-09 13:13:20 +05:30
|
|
|
This repo is currently part of Gitea. The purpose of it is to generate a changelog when writing release notes.
|
|
|
|
This project was made for Gitea, so while you are free to use it in your own projects, it is subject to change with Gitea.
|
|
|
|
This tool generates a changelog from PRs based on their milestone and labels.
|
2017-08-25 12:22:51 +05:30
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
```
|
2020-01-18 10:45:41 +05:30
|
|
|
go get code.gitea.io/changelog
|
2017-08-25 12:22:51 +05:30
|
|
|
```
|
|
|
|
|
|
|
|
## Configuration
|
|
|
|
|
2020-01-09 13:13:20 +05:30
|
|
|
See the [changelog.example.yml](changelog.example.yml) example file.
|
2017-08-25 12:22:51 +05:30
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2020-01-09 13:13:20 +05:30
|
|
|
#### Changelog Entries
|
2017-08-25 12:22:51 +05:30
|
|
|
```
|
2020-01-09 13:13:20 +05:30
|
|
|
changelog -m=1.11.0 -c=/path/to/my_config_file generate
|
|
|
|
```
|
|
|
|
|
|
|
|
#### Contributors List
|
|
|
|
```
|
|
|
|
changelog -m=1.11.0 -c=/path/to/my_config_file contributors
|
|
|
|
```
|
|
|
|
|
|
|
|
## Building
|
|
|
|
```
|
|
|
|
go generate ./...
|
|
|
|
go build
|
2017-08-25 12:22:51 +05:30
|
|
|
```
|
|
|
|
|
|
|
|
## Contributing
|
|
|
|
|
|
|
|
Fork -> Patch -> Push -> Pull Request
|
|
|
|
|
|
|
|
## Authors
|
|
|
|
|
2020-01-09 13:13:20 +05:30
|
|
|
* [Maintainers](https://gitea.com/org/gitea/members)
|
|
|
|
* [Contributors](https://gitea.com/gitea/changelog/commits/branch/master)<!-- FIXME when contributors page works -->
|
2017-08-25 12:22:51 +05:30
|
|
|
|
|
|
|
## License
|
|
|
|
|
2020-01-09 13:13:20 +05:30
|
|
|
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for the full license text.
|