Skip to content

Commit 0df31e2

Browse files
committed
Update dependencies and add changelog
1 parent 36762ec commit 0df31e2

File tree

4 files changed

+45
-29
lines changed

4 files changed

+45
-29
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,12 @@ jobs:
9999
100100
echo ::set-output name=github-tag::${GITHUB_REF#refs/*/}
101101
102+
- name: Read changelog
103+
id: changelog
104+
run: |
105+
awk '/^## / {s++} s == 1 {print}' CHANGELOG.md > release_notes.md
106+
echo "::set-output name=path::release_notes.md"
107+
102108
- name: Check package version
103109
run: if [ "v${{ steps.metadata.outputs.plugin-version }}" != "${{ steps.metadata.outputs.github-tag }}" ]; then printf "\033[0;31mPlugin version doesn't match tag name\033[0m\n"; exit 1; fi
104110

@@ -126,8 +132,8 @@ jobs:
126132
with:
127133
tag_name: ${{ github.ref }}
128134
release_name: Release ${{ github.ref }}
135+
body_path: ${{ steps.changelog.outputs.path }}
129136
draft: true
130-
prerelease: false
131137

132138
- name: Add plugin to release
133139
id: upload-plugin-asset

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Changelog
2+
3+
## 0.6.3 (2020-11-27)
4+
5+
[Full changelog](https://github.com/marcusolsson/grafana-hourly-heatmap-panel/compare/v0.6.2...v0.6.3)
6+
7+
### Enhancements
8+
9+
- Updated `@grafana` dependencies from `^7.0.0` to `^7.3.0`
10+
- Improved release process using the new [GitHub workflows](https://github.com/grafana/plugin-workflows) for Grafana plugins

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
"author": "Marcus Olsson",
1212
"license": "Apache-2.0",
1313
"devDependencies": {
14-
"@grafana/data": "^7.0.0",
15-
"@grafana/runtime": "^7.0.0",
16-
"@grafana/toolkit": "^7.0.0",
17-
"@grafana/ui": "^7.0.0",
14+
"@grafana/data": "^7.3.0",
15+
"@grafana/runtime": "^7.3.0",
16+
"@grafana/toolkit": "^7.3.0",
17+
"@grafana/ui": "^7.3.0",
1818
"@testing-library/jest-dom": "5.4.0",
1919
"@testing-library/react": "^10.0.2",
2020
"@types/lodash": "latest",

yarn.lock

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,10 +1117,10 @@
11171117
rxjs "6.6.2"
11181118
xss "1.0.6"
11191119

1120-
"@grafana/data@7.3.3", "@grafana/data@^7.0.0":
1121-
version "7.3.3"
1122-
resolved "https://registry.yarnpkg.com/@grafana/data/-/data-7.3.3.tgz#f91fbfc11dc5f1147a628151bb16f9a61cd21a0b"
1123-
integrity sha512-pMZRfa3ysK2tWCpH2R0jV+DUX2hrIPGGLycvQoTnVafdJ6sYtoeHiR3HH2CcD1sF1BlUYmUZk+CNkFEX1NX2DQ==
1120+
"@grafana/data@7.3.4", "@grafana/data@^7.3.0":
1121+
version "7.3.4"
1122+
resolved "https://registry.yarnpkg.com/@grafana/data/-/data-7.3.4.tgz#745adc569eb9aacc367669d653650c505b15604a"
1123+
integrity sha512-x3PlFij1n1xFM2tWePXO/mizoAoS+8Z+fZe1AMiMf8Oh4M40jCzNLT/VlRPR1hYGYVlW7ZaVjRWLVrNVAExmwg==
11241124
dependencies:
11251125
"@braintree/sanitize-url" "4.0.0"
11261126
"@types/d3-interpolate" "^1.3.1"
@@ -1140,10 +1140,10 @@
11401140
typescript "3.9.3"
11411141
yaml "^1.8.3"
11421142

1143-
"@grafana/e2e-selectors@7.3.3":
1144-
version "7.3.3"
1145-
resolved "https://registry.yarnpkg.com/@grafana/e2e-selectors/-/e2e-selectors-7.3.3.tgz#508d8ba0eab2c0e57fdd43b911275640c29c72c7"
1146-
integrity sha512-6g2n9Hi7NoEdrkVj+WMFVwdIJaHxGyN/zv3SAGnsPyg4DAW3ue8bWrakLJROAysg6sfqXzLsCNWSyt21X3snbQ==
1143+
"@grafana/e2e-selectors@7.3.4":
1144+
version "7.3.4"
1145+
resolved "https://registry.yarnpkg.com/@grafana/e2e-selectors/-/e2e-selectors-7.3.4.tgz#64fc96fad0ac0697a836c67341dc4f13f7014356"
1146+
integrity sha512-muE7KexaCF25bGn+Y7SIeB7ROX6kZnhSDlEYqPTJEbb1mjCvA91PBc/BNjrZLCGsAqWV74PH0rpY143LSgGFEQ==
11471147
dependencies:
11481148
"@grafana/tsconfig" "^1.0.0-rc1"
11491149
commander "5.0.0"
@@ -1166,13 +1166,13 @@
11661166
prettier "1.19.1"
11671167
typescript "4.0.2"
11681168

1169-
"@grafana/runtime@^7.0.0":
1170-
version "7.3.3"
1171-
resolved "https://registry.yarnpkg.com/@grafana/runtime/-/runtime-7.3.3.tgz#0046303f853b1b0584c1cdb42c919672cd2f4edc"
1172-
integrity sha512-AZww+wA83X2Vn885YWlB+zBKg7Sr/SSJjr0dMbj/HRKcOTSJT0mk65H5EzGfV9eqtR196RSEs4vF3ugGZ0WL5A==
1169+
"@grafana/runtime@^7.3.0":
1170+
version "7.3.4"
1171+
resolved "https://registry.yarnpkg.com/@grafana/runtime/-/runtime-7.3.4.tgz#251eabdc33433ccb0442b6e0a480d15f51d72ded"
1172+
integrity sha512-l90x5TONV6WoaxK9mSH4yoGcCq3pHKpGNke7h9q0x83psN2kIYNjtjKCIN94rvw7CmqieIceu0v/CK69O1TEtA==
11731173
dependencies:
1174-
"@grafana/data" "7.3.3"
1175-
"@grafana/ui" "7.3.3"
1174+
"@grafana/data" "7.3.4"
1175+
"@grafana/ui" "7.3.4"
11761176
systemjs "0.20.19"
11771177
systemjs-plugin-css "0.1.37"
11781178

@@ -1198,10 +1198,10 @@
11981198
tiny-invariant "^1.0.1"
11991199
tiny-warning "^0.0.3"
12001200

1201-
"@grafana/toolkit@^7.0.0":
1202-
version "7.3.3"
1203-
resolved "https://registry.yarnpkg.com/@grafana/toolkit/-/toolkit-7.3.3.tgz#5a859fa76624a26ea8fb56b495fd4c46242eb1d6"
1204-
integrity sha512-SO0DBrzirMCqgfAr7bNx9D7j4to3t3e6yzagdD5nxjcB7Z74s2klZSBBF8qSVGWKWg9OH1boMMmOGZdw1nuLaw==
1201+
"@grafana/toolkit@^7.3.0":
1202+
version "7.3.4"
1203+
resolved "https://registry.yarnpkg.com/@grafana/toolkit/-/toolkit-7.3.4.tgz#633a0e0c93b5f95b13c3bdc4b371293f7a4b3a69"
1204+
integrity sha512-kNZ+V2j00yh9sQvKm8fAx46LzXKAKhErhlgJB/3CfYhDSoZfWRR22s8lsyucYvB60zZ7N9U6GcweYfuMdREFsw==
12051205
dependencies:
12061206
"@babel/core" "7.9.0"
12071207
"@babel/preset-env" "7.9.0"
@@ -1291,14 +1291,14 @@
12911291
resolved "https://registry.yarnpkg.com/@grafana/tsconfig/-/tsconfig-1.0.0-rc1.tgz#d07ea16755a50cae21000113f30546b61647a200"
12921292
integrity sha512-nucKPGyzlSKYSiJk5RA8GzMdVWhdYNdF+Hh65AXxjD9PlY69JKr5wANj8bVdQboag6dgg0BFKqgKPyY+YtV4Iw==
12931293

1294-
"@grafana/ui@7.3.3", "@grafana/ui@^7.0.0":
1295-
version "7.3.3"
1296-
resolved "https://registry.yarnpkg.com/@grafana/ui/-/ui-7.3.3.tgz#c3dba0c65a3bc7905f7bbc915541c5744351b636"
1297-
integrity sha512-7VyjLAEfvjN9YXwMej1OiZcRlavGH78OhZkQu0EJhXfSwTw08ZCQ3Oh2+I0Wr6S/HJK576jHGUlN5LLg0/p/xw==
1294+
"@grafana/ui@7.3.4", "@grafana/ui@^7.3.0":
1295+
version "7.3.4"
1296+
resolved "https://registry.yarnpkg.com/@grafana/ui/-/ui-7.3.4.tgz#90e1236d31f038598d69d36256f0295be90dc19e"
1297+
integrity sha512-u3gVNhBHPBFBH99nMjgRFym+TU+dnZcHIYJoYfPmdAMgIKHv0F78VMamCqlgrJgP9Dc92GXZTumG79ryC/FShQ==
12981298
dependencies:
12991299
"@emotion/core" "^10.0.27"
1300-
"@grafana/data" "7.3.3"
1301-
"@grafana/e2e-selectors" "7.3.3"
1300+
"@grafana/data" "7.3.4"
1301+
"@grafana/e2e-selectors" "7.3.4"
13021302
"@grafana/slate-react" "0.22.9-grafana"
13031303
"@grafana/tsconfig" "^1.0.0-rc1"
13041304
"@iconscout/react-unicons" "1.1.4"

0 commit comments

Comments
 (0)