@grafana/create-plugin 1.9.1 → 1.10.0-canary.331.47fcfeb.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafana/create-plugin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0-canary.331.47fcfeb.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"directory": "packages/create-plugin",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"engines": {
|
|
67
67
|
"node": ">=16"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "47fcfeba901d419feeecf67c4813c5067b4851c9"
|
|
70
70
|
}
|
|
@@ -10,7 +10,9 @@ jobs:
|
|
|
10
10
|
release:
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
12
|
env:
|
|
13
|
-
|
|
13
|
+
# usage of GRAFANA_API_KEY is deprecated
|
|
14
|
+
# GRAFANA_API_KEY: $\{{ secrets.GRAFANA_API_KEY }}
|
|
15
|
+
GRAFANA_ACCESS_POLICY_TOKEN: $\{{ secrets.GRAFANA_ACCESS_POLICY_TOKEN }}
|
|
14
16
|
steps:
|
|
15
17
|
- uses: actions/checkout@v3
|
|
16
18
|
{{#if_eq packageManagerName "pnpm"}}
|
|
@@ -57,15 +59,15 @@ jobs:
|
|
|
57
59
|
version: latest
|
|
58
60
|
args: buildAll
|
|
59
61
|
|
|
60
|
-
- name: Warn missing Grafana
|
|
62
|
+
- name: Warn missing Grafana access policy token
|
|
61
63
|
run: |
|
|
62
|
-
echo Please generate a Grafana
|
|
64
|
+
echo Please generate a Grafana access policy token: https://grafana.com/docs/grafana/latest/developers/plugins/sign-a-plugin/#generate-a-token
|
|
63
65
|
echo Once done please follow the instructions found here: https://github.com/$\{{github.repository}}/blob/main/README.md#using-github-actions-release-workflow
|
|
64
|
-
if: $\{{ env.
|
|
66
|
+
if: $\{{ env.GRAFANA_ACCESS_POLICY_TOKEN == '' }}
|
|
65
67
|
|
|
66
68
|
- name: Sign plugin
|
|
67
69
|
run: {{ packageManagerName }} run sign
|
|
68
|
-
if: $\{{ env.
|
|
70
|
+
if: $\{{ env.GRAFANA_ACCESS_POLICY_TOKEN != '' }}
|
|
69
71
|
|
|
70
72
|
- name: Get plugin metadata
|
|
71
73
|
id: metadata
|