diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..39bca87 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,22 @@ +name: Release + +on: + push: + tags: + - "v*" # Run workflow on version tags, e.g. v1.0.0. + +# necessary to create releases +permissions: + contents: write + +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - uses: grafana/plugin-actions/build-plugin@main + with: + # see https://grafana.com/developers/plugin-tools/publish-a-plugin/sign-a-plugin#generate-an-access-policy-token to generate it + # save the value in your repository secrets + policy_token: ${{ secrets.GRAFANA_ACCESS_POLICY_TOKEN }} diff --git a/package.json b/package.json index 2d105a7..d4f9cfe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "grafana-questdb-datasource", - "version": "1.0.0", + "version": "0.1.0", "description": "QuestDB Datasource for Grafana", "engines": { "node": ">=16"