From 7a02a373f7bff5c475445938dd548216f8e73ce6 Mon Sep 17 00:00:00 2001 From: Bastian Doetsch Date: Fri, 24 May 2024 16:06:56 +0200 Subject: [PATCH] fix: add sentry and amplitude information to github vsix --- .github/workflows/release-stable.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-stable.yaml b/.github/workflows/release-stable.yaml index 5d1f4aac1..5f0fa1d08 100644 --- a/.github/workflows/release-stable.yaml +++ b/.github/workflows/release-stable.yaml @@ -61,7 +61,14 @@ jobs: run: npm ci - name: Package VSIX - run: echo y | vsce package --no-git-tag-version --no-update-package-json ${{ needs.publish.outputs.new-version }} + run: | + run: | + sed -i \ + -e 's|${env.SNYK_VSCE_AMPLITUDE_EXPERIMENT_API_KEY}|${{ secrets.SNYK_VSCE_AMPLITUDE_EXPERIMENT_API_KEY }}|g' \ + -e 's|${env.SNYK_VSCE_SENTRY_DSN_KEY}|${{ secrets.SNYK_VSCE_SENTRY_DSN_KEY }}|g' \ + snyk.config.json + + echo y | vsce package --no-git-tag-version --no-update-package-json ${{ needs.publish.outputs.new-version }} - name: Extract release notes id: extract-release-notes