Skip to content

Commit 5d4d702

Browse files
committed
Update version check
1 parent 5a2fb10 commit 5d4d702

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
echo ::set-output name=github-tag::${GITHUB_REF#refs/*/}
7474
7575
- name: Check package version
76-
run: test "v${{ steps.metadata.outputs.plugin-version }}" = "${{ steps.metadata.outputs.github-tag }}"
76+
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"; fi
7777

7878
- name: Package plugin
7979
id: package-plugin

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "marcusolsson-json-datasource",
3-
"version": "0.6.3",
3+
"version": "0.6.2",
44
"description": "A data source plugin for loading JSON APIs into Grafana.",
55
"scripts": {
66
"build": "grafana-toolkit plugin:build",

0 commit comments

Comments
 (0)