Skip to content

Commit

Permalink
Merge pull request #240 from vozlt/cut-v0.2.0
Browse files Browse the repository at this point in the history
Release v0.2.0
  • Loading branch information
u5surf authored Sep 5, 2022
2 parents f6706e7 + b740132 commit 6dadfc8
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .chglog/RELNOTES.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{{ range .Versions -}}
Release {{ .Tag.Name}}

Release {{ if .Tag.Previous }}[{{ .Tag.Name }}]{{ else }}{{ .Tag.Name }}{{ end }} - {{ datetime "2006-01-02" .Tag.Date }}
{{ range .CommitGroups -}}
** {{ .Title }}
{{ range .Commits -}}
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
{{ end }}
{{ end -}}

{{- if .NoteGroups -}}
{{ range .NoteGroups -}}
** {{ .Title }}
{{ range .Notes }}
{{ .Body }}
{{ end }}
{{ end -}}
{{ end -}}
{{ end -}}
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<a name="unreleased"></a>
## [Unreleased]


## [v0.2.0] - 2022-09-05
### Bugfix
- fixed for PR[#238](https://github.com/vozlt/nginx-module-vts/issues/238)
- fixed for PR[#238](https://github.com/vozlt/nginx-module-vts/issues/238)
Expand All @@ -12,6 +14,9 @@
- fixed the sum value of histogram in upstream metrics
- fixed to display all A records of server without zone directive in the upstream block.

### Chore
- Use git-chglog

### Comment
- added moduleVersion
- added additional information about cacheZones
Expand Down Expand Up @@ -300,7 +305,8 @@
- added type casting(ngx_atomic_t) in the ngx_vhost_traffic_status_node_init() and ngx_vhost_traffic_status_node_set()


[Unreleased]: https://github.com/vozlt/nginx-module-vts/compare/v0.1.18...HEAD
[Unreleased]: https://github.com/vozlt/nginx-module-vts/compare/v0.2.0...HEAD
[v0.2.0]: https://github.com/vozlt/nginx-module-vts/compare/v0.1.18...v0.2.0
[v0.1.18]: https://github.com/vozlt/nginx-module-vts/compare/v0.1.17...v0.1.18
[v0.1.17]: https://github.com/vozlt/nginx-module-vts/compare/v0.1.16...v0.1.17
[v0.1.16]: https://github.com/vozlt/nginx-module-vts/compare/v0.1.15...v0.1.16
Expand Down
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,17 @@ Table of Contents
* [vhost_traffic_status_histogram_buckets](#vhost_traffic_status_histogram_buckets)
* [vhost_traffic_status_bypass_limit](#vhost_traffic_status_bypass_limit)
* [vhost_traffic_status_bypass_stats](#vhost_traffic_status_bypass_stats)
* [Releases](#releases)
* [See Also](#see-also)
* [TODO](#todo)
* [Donation](#donation)
* [Author](#author)

## Version
This document describes nginx-module-vts `v0.1.18` released on 22 Jun 2018.

![GitHub Release](https://img.shields.io/github/v/release/vozlt/nginx-module-vts?display_name=tag&sort=semver)

See the [GitHub Releases](https://github.com/vozlt/nginx-module-vts/releases) for the latest tagged release.

## Test
Run `sudo prove -r t` after you have installed this module. The `sudo` is required because
Expand Down Expand Up @@ -1808,6 +1812,18 @@ http {
}
```

## Releases

To cut a release, create a changelog entry PR with [git-chglog](https://github.com/git-chglog/git-chglog)

version="v0.2.0"
git checkout -b "cut-${version}"
git-chglog -o CHANGELOG.md --next-tag "${version}"
git add CHANGELOG.md
git-chglog -t .chglog/RELNOTES.tmpl --next-tag "${version}" "${version}" | git commit -F-

After the PR is merged, create the new tag and release on the [GitHub Releases](https://github.com/vozlt/nginx-module-vts/releases).

## See Also
* Stream traffic status
* [nginx-module-sts](https://github.com/vozlt/nginx-module-sts)
Expand Down

0 comments on commit 6dadfc8

Please sign in to comment.