Skip to content

Commit 50247ef

Browse files
author
MariusBrill
committed
Add release process
1 parent e54850a commit 50247ef

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

.release-it.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"github": {
3+
"release": false
4+
},
5+
"npm": {
6+
"publish": false
7+
},
8+
"hooks": {
9+
"after:bump":
10+
"rm -r dist; yarn build; npx @grafana/toolkit plugin:sign; cp -r dist novatec-sdg-panel; mkdir -p releases; zip -r releases/novatec-sdg-panel.zip novatec-sdg-panel; rm -r novatec-sdg-panel"
11+
}
12+
}

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Now, the panel's `Data Mappings` option `Response Time Column` is set to `resp_t
116116

117117
___
118118

119-
### Service Icons
119+
## Service Icons
120120

121121
The service dependency graph plugin allows you to display your own symbols in the drawn nodes.
122122
For this purpose the option 'Service Icon Mapping' can be used.
@@ -161,6 +161,17 @@ The curly brackets `{}` will be replaced with the selected node.
161161

162162
___
163163

164+
## Create a Release
165+
166+
To create a release bundle, ensure `release-it` is installed:
167+
```
168+
npm install --global release-it
169+
```
170+
To build a release bundle:
171+
```
172+
release-it [--no-git.requireCleanWorkingDir]
173+
```
174+
164175
### Found a bug? Have a question? Wanting to contribute?
165176

166177
Feel free to open up an issue. We will take care of you and provide as much help as needed. Any suggestions/contributions are being very much appreciated.

0 commit comments

Comments
 (0)