From 86c9f89acca2e4739c9f9d942945981ab35851f1 Mon Sep 17 00:00:00 2001 From: Andrei Pohilko Date: Tue, 4 Oct 2022 08:40:48 +0100 Subject: [PATCH] Release 0.0.8 --- .github/workflows/release.yaml | 6 ++++++ pkg/dashboard/static/datadog.js | 2 +- plugin.yaml | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index bd87b6d..7d831b1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -19,6 +19,12 @@ jobs: go-version: 1.18 - name: git cleanup run: git clean -f + - name: Inject version + uses: jacobtomlinson/gha-find-replace@v2 + with: + find: 'v0.0.0' + replace: ${{ github.ref_name }} + include: "pkg/dashboard/static/datadog.js" - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: diff --git a/pkg/dashboard/static/datadog.js b/pkg/dashboard/static/datadog.js index 38e9eb3..84f1b3d 100644 --- a/pkg/dashboard/static/datadog.js +++ b/pkg/dashboard/static/datadog.js @@ -9,7 +9,7 @@ applicationId: 'e75439e5-e1b3-46ba-a9e9-a2e58579a2e2', site: 'datadoghq.com', service: 'helm-dashboard', - version: '0.0.6', + version: 'v0.0.0', trackInteractions: true, trackResources: true, trackLongTasks: true, diff --git a/plugin.yaml b/plugin.yaml index 50eb437..1c4064c 100644 --- a/plugin.yaml +++ b/plugin.yaml @@ -1,5 +1,5 @@ name: "dashboard" -version: "0.0.6" +version: "0.0.8" usage: "A simplified way of working with Helm" description: "View HELM situation in nice web UI" command: "$HELM_PLUGIN_DIR/bin/helm-dashboard"