https://github.com/totvs/azure-release-notes-generator
A release notes generator based on Azure DevOps commits (aka VSTS)
https://github.com/totvs/azure-release-notes-generator
azure azure-devops conventional-changelog conventional-commits vsts
Last synced: 3 months ago
JSON representation
A release notes generator based on Azure DevOps commits (aka VSTS)
- Host: GitHub
- URL: https://github.com/totvs/azure-release-notes-generator
- Owner: totvs
- Created: 2019-08-01T04:16:36.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-09-17T16:40:38.000Z (about 4 years ago)
- Last Synced: 2024-04-14T07:47:27.022Z (over 1 year ago)
- Topics: azure, azure-devops, conventional-changelog, conventional-commits, vsts
- Language: Java
- Size: 48.8 KB
- Stars: 2
- Watchers: 11
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# azure-release-notes-generator
A release notes generator based on Azure DevOps commits using the [Conventional Commits](https://www.conventionalcommits.org) specification.
The release notes markdown file is generated base on the commits pushed to a determinated branch and period.
> This project was based on [Spring's GitHub Release Notes Generator][github-generator]
## Getting started
To execute, run the following command:
```bash
java -jar azure-release-notes-generator.jar --spring.config.location=file:///tmp/dev/application.yml
```To generate the markdown file is necessary to configure your application properties like bellow:
```yml
releasenotes:
title: Release Notes *
append: false
file: /tmp/CHANGELOG.md *
issue-link-base-url: https://dev.azure.com/foo/_workitems/edit *
azure:
username: user@domain.com *
password: **** *
organization: foo *
project: bar *
repository: test *
branch: master
releases:
- title: 1.1.0
from-date: 2019-07-20T00:00:00
to-date: 2019-08-02T23:59:59
branch: develop
- title: 1.0.0
from-date: 2019-07-06T00:00:00
to-date: 2019-07-19T23:59:59
branch: master
```> The properties marked with * are mandatory.
### Sections
By default the release notes will contain the following sections:
|Title|Emoji|Label Text|
|---|---|---|
|New Features|:star:|"feat", "test" or "perf"|
|Bug Fixes|:beetle:|"bug" or "fix"|
|Documentation|:notebook_with_decorative_cover:|"doc", "docs", "style" or "chore"|
|Refactorings|:wrench:|"refactor"|Is possible to customized adding sections in the YAML properties file:
```yml
sections:
- title: Bugs
emoji: ":beetle:"
labels: bug
```[github-generator]: https://github.com/spring-io/github-release-notes-generator