Skip to content

Commit 7ab26a2

Browse files
authored
Release 0.10.0 (#114)
1 parent b738402 commit 7ab26a2

File tree

4 files changed

+49
-5
lines changed

4 files changed

+49
-5
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
paths-ignore:
88
- '**.md'
99
- 'LICENSE'
10+
tags:
11+
- 'v[0-9]+.[0-9]+.[0-9]+'
1012
pull_request:
1113
branches:
1214
- main
@@ -28,9 +30,7 @@ jobs:
2830
build:
2931
name: Build Client
3032
runs-on: ubuntu-20.04
31-
if:
32-
github.event.pull_request.head.repo.full_name == 'nginxinc/nginx-plus-go-client' ||
33-
github.event_name == 'push' || github.event_name == 'schedule'
33+
if: ${{ github.event.repository.fork == false }}
3434
steps:
3535
- name: Checkout Repository
3636
uses: actions/checkout@v3
@@ -69,3 +69,23 @@ jobs:
6969
run: make test
7070
env:
7171
NGINX_PLUS_VERSION: nightly
72+
73+
release:
74+
name: Release
75+
runs-on: ubuntu-20.04
76+
if: ${{ startsWith(github.ref, 'refs/tags/') }}
77+
steps:
78+
- name: Publish Release Notes
79+
uses: release-drafter/release-drafter@v5
80+
with:
81+
publish: true
82+
env:
83+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
84+
- name: Run GoReleaser
85+
uses: goreleaser/goreleaser-action@v3
86+
with:
87+
version: latest
88+
args: release --rm-dist
89+
env:
90+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
91+
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_COMMUNITY }}

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@
33
*.key
44

55
# Visual Studio Code settings
6-
.vscode
6+
.vscode
7+
8+
dist

.goreleaser.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
builds:
2+
- skip: true
3+
4+
changelog:
5+
skip: true
6+
7+
announce:
8+
slack:
9+
enabled: true
10+
channel: '#general'

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## 0.10.0 (Jul 19, 2022)
2+
3+
An automatically generated list of changes can be found on GitHub at: [0.10.0 Release](https://github.com/nginxinc/nginx-plus-go-client/releases/tag/v0.10.0)
4+
5+
## 0.9.0 (Sep 28, 2021)
6+
7+
An automatically generated list of changes can be found on GitHub at: [0.9.0 Release](https://github.com/nginxinc/nginx-plus-go-client/releases/tag/v0.9.0)
8+
9+
## 0.8.0 (Nov 26, 2020)
10+
11+
An automatically generated list of changes can be found on GitHub at: [0.8.0 Release](https://github.com/nginxinc/nginx-plus-go-client/releases/tag/v0.8.0)
12+
113
## 0.7.0 (Jul 10, 2020)
214
FEATURES:
315
* [38](https://github.com/nginxinc/nginx-plus-go-client/pull/38): *Support for /slabs API endpoint*. The client now supports retrieving shared memory zone usage info.
@@ -42,7 +54,7 @@ CHANGES:
4254

4355
## 0.3 (May 29, 2019)
4456
FEATURES:
45-
* [20](https://github.com/nginxinc/nginx-plus-go-client/pull/20): *Support for stream zone sync metrics*. The client `GetStats` method now additionally returns stream zone sync metrics.
57+
* [20](https://github.com/nginxinc/nginx-plus-go-client/pull/20): *Support for stream zone sync metrics*. The client `GetStats` method now additionally returns stream zone sync metrics.
4658
* [13](https://github.com/nginxinc/nginx-plus-go-client/pull/13): *Support for key-value endpoints*. The client implements a set of methods to create/modify/delete key-val pairs for both http and stream contexts.
4759
* [12](https://github.com/nginxinc/nginx-plus-go-client/pull/12) *Support for NGINX status info*. The client `GetStats` method now additionally returns NGINX status metrics. Thanks to [jthurman42](https://github.com/jthurman42).
4860

0 commit comments

Comments
 (0)