Skip to content

Commit a7f33e7

Browse files
authored
Merge pull request #25 from questdb/misc
Add release workflow
2 parents fc0f611 + 80e0875 commit a7f33e7

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

.github/workflows/release.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*" # Run workflow on version tags, e.g. v1.0.0.
7+
8+
# necessary to create releases
9+
permissions:
10+
contents: write
11+
12+
jobs:
13+
release:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v3
17+
18+
- uses: grafana/plugin-actions/build-plugin@main
19+
with:
20+
# see https://grafana.com/developers/plugin-tools/publish-a-plugin/sign-a-plugin#generate-an-access-policy-token to generate it
21+
# save the value in your repository secrets
22+
policy_token: ${{ secrets.GRAFANA_ACCESS_POLICY_TOKEN }}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "grafana-questdb-datasource",
3-
"version": "1.0.0",
3+
"version": "0.1.0",
44
"description": "QuestDB Datasource for Grafana",
55
"engines": {
66
"node": ">=16"

0 commit comments

Comments
 (0)