Skip to content

Commit 4d0f19f

Browse files
authored
update in the README.md how to make new release (#269)
* update in the README.md how to make new release * update CHANGELOG.md, package.json
1 parent 0a0a7b6 commit 4d0f19f

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## tip
44

5+
* BUGFIX: cleanup README.md for the plugin. Clarify how to make release. See [this PR](https://github.com/VictoriaMetrics/victoriametrics-datasource/pull/269).
6+
57
## v0.13.0
68

79
* FEATURE: enable plugin sign procedure for new releases. See [this PR](https://github.com/VictoriaMetrics/victoriametrics-datasource/pull/264) and [this PR](https://github.com/VictoriaMetrics/victoriametrics-datasource/pull/265).

README.md

+7-9
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Please find the example of provisioning Grafana instance with VictoriaMetrics da
108108
grafana:
109109
image: grafana/grafana:11.0.0
110110
environment:
111-
- GF_INSTALL_PLUGINS=https://github.com/VictoriaMetrics/victoriametrics-datasource/releases/download/v0.13.0/victoriametrics-metrics-datasource-v0.13.0.zip;victoriametrics-metrics-datasource
111+
- GF_INSTALL_PLUGINS=https://github.com/VictoriaMetrics/victoriametrics-datasource/releases/download/v0.13.1/victoriametrics-metrics-datasource-v0.13.1.zip;victoriametrics-metrics-datasource
112112
- GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=victoriametrics-metrics-datasource
113113
ports:
114114
- 3000:3000/tcp
@@ -136,14 +136,14 @@ Option 1. Using Grafana provisioning:
136136

137137
``` yaml
138138
env:
139-
GF_INSTALL_PLUGINS: "https://github.com/VictoriaMetrics/victoriametrics-datasource/releases/download/v0.13.0/victoriametrics-metrics-datasource-v0.13.0.zip;victoriametrics-metrics-datasource"
139+
GF_INSTALL_PLUGINS: "https://github.com/VictoriaMetrics/victoriametrics-datasource/releases/download/v0.13.1/victoriametrics-metrics-datasource-v0.13.1.zip;victoriametrics-metrics-datasource"
140140
```
141141

142142
Option 2. Using Grafana plugins section in `values.yaml`:
143143

144144
``` yaml
145145
plugins:
146-
- https://github.com/VictoriaMetrics/victoriametrics-datasource/releases/download/v0.13.0/victoriametrics-metrics-datasource-v0.13.0.zip;victoriametrics-metrics-datasource
146+
- https://github.com/VictoriaMetrics/victoriametrics-datasource/releases/download/v0.13.1/victoriametrics-metrics-datasource-v0.13.1.zip;victoriametrics-metrics-datasource
147147
```
148148

149149
Option 3. Using init container:
@@ -370,12 +370,10 @@ To view the raw query in the interface, enable the `Raw` toggle.
370370
## How to make new release
371371

372372
1. Make sure there are no open security issues.
373-
1. Push a new release tag in `master` branch:
374-
375-
```
376-
git tag -s v1.xx.y
377-
git push origin v1.xx.y
378-
```
373+
1. Change version in `package.json` in a `main` branch
374+
1. Push changes to the github repository and be shure that the `main` branch is up to date.
375+
1. Trigger [release pipeline](https://github.com/VictoriaMetrics/victoriametrics-datasource/actions/workflows/release.yaml).
376+
1. Go to [releases page](https://github.com/VictoriaMetrics/victoriametrics-datasource/releases) once pipeline is finished and verify release with the name `TAG` has been created and has all the needed binaries and checksums attached.
379377

380378
## FAQ
381379

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "victoriametrics-metrics-datasource",
3-
"version": "0.13.0",
3+
"version": "0.13.1",
44
"description": "Showcase how to build a basic datasource plugin",
55
"scripts": {
66
"build": "TS_NODE_PROJECT=\"./.config/webpack/tsconfig.webpack.json\" webpack -c ./webpack.config.ts --env production",

0 commit comments

Comments
 (0)