File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -15,20 +15,15 @@ jobs:
1515 id : plugin_version
1616 run : |
1717 VERSION=$(jq -r '.info.version' grafana-clickhouse-datasource/plugin.json)
18- echo "version=$VERSION" >> $GITHUB_OUTPUT
19-
20- - name : Validate version match
21- run : |
22- TAG_VERSION=${GITHUB_REF#refs/tags/}
23- PLUGIN_VERSION=${{ steps.plugin_version.outputs.version }}
18+ echo "version=$GRAFANA_CLICKHOUSE_VERSION" >> $GITHUB_OUTPUT
2419
2520 - name : Create zip archive
2621 run : |
27- zip -r grafana-clickhouse-datasource-$PLUGIN_VERSION .zip grafana-clickhouse-datasource
22+ zip -r grafana-clickhouse-datasource-$GRAFANA_CLICKHOUSE_VERSION .zip grafana-clickhouse-datasource
2823
2924 - name : Upload Release Asset
3025 uses : softprops/action-gh-release@v1
3126 with :
32- files : grafana-clickhouse-datasource-$PLUGIN_VERSION .zip
27+ files : grafana-clickhouse-datasource-$GRAFANA_CLICKHOUSE_VERSION .zip
3328 env :
3429 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments