We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44f38fb commit 7800cc3Copy full SHA for 7800cc3
.github/workflows/release.yml
@@ -3,7 +3,7 @@ name: Release
3
on:
4
push:
5
tags:
6
- - 'v*' # Run workflow on version tags, e.g. v1.0.0.
+ - 'v*.*.*' # Run workflow on version tags, e.g. v1.0.0.
7
8
jobs:
9
release:
@@ -70,6 +70,11 @@ jobs:
70
echo "::set-output name=archive::${GRAFANA_PLUGIN_ARTIFACT}"
71
echo "::set-output name=archive-checksum::${GRAFANA_PLUGIN_ARTIFACT_CHECKSUM}"
72
73
+ echo ::set-output name=github-tag::${GITHUB_REF#refs/*/}
74
+
75
+ - name: Check package version
76
+ run: test "v${{ steps.metadata.outputs.version }}" = "${{ steps.metadata.outputs.github-tag }}"
77
78
- name: Package plugin
79
id: package-plugin
80
run: |
0 commit comments