From 998c4396f3d12dc92c406e6facb2118cf4722e2e Mon Sep 17 00:00:00 2001 From: Kevin Mas Ruiz Date: Thu, 9 May 2024 17:29:17 +0200 Subject: [PATCH 1/2] chore: testing release flow --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e105f53..ec6a77fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ MongoDB plugin for IntelliJ IDEA. ### Added +- We are testing the release flow. + ### Changed ### Deprecated From 2d50db501e414d096cebc4f6caea9ce86b16b1a2 Mon Sep 17 00:00:00 2001 From: Kevin Mas Ruiz Date: Thu, 9 May 2024 17:42:04 +0200 Subject: [PATCH 2/2] chore: expose as secrets --- .github/workflows/draft-release.yaml | 4 ++++ .github/workflows/publish-release.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/draft-release.yaml b/.github/workflows/draft-release.yaml index bffb2142..8165c4bd 100644 --- a/.github/workflows/draft-release.yaml +++ b/.github/workflows/draft-release.yaml @@ -88,6 +88,10 @@ jobs: - name: Sign and Publish Plugin in Beta env: JB_PUBLISH_CHANNEL: "beta" + JB_PUBLISH_TOKEN: ${{ secrets.JB_PUBLISH_TOKEN }} + JB_CERTIFICATE_CHAIN: ${{ secrets.JB_CERTIFICATE_CHAIN }} + JB_PRIVATE_KEY: ${{ secrets.JB_PRIVATE_KEY }} + JB_PRIVATE_KEY_PASSWORD: ${{ secrets.JB_PRIVATE_KEY_PASSWORD }} run: | ./gradlew ":packages:jetbrains-plugin:publishPlugin" diff --git a/.github/workflows/publish-release.yaml b/.github/workflows/publish-release.yaml index 25107d9f..c5021cc8 100644 --- a/.github/workflows/publish-release.yaml +++ b/.github/workflows/publish-release.yaml @@ -31,6 +31,10 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.SVC_DEVTOOLSBOT_TOKEN }} JB_PUBLISH_CHANNEL: "ga" + JB_PUBLISH_TOKEN: ${{ secrets.JB_PUBLISH_TOKEN }} + JB_CERTIFICATE_CHAIN: ${{ secrets.JB_CERTIFICATE_CHAIN }} + JB_PRIVATE_KEY: ${{ secrets.JB_PRIVATE_KEY }} + JB_PRIVATE_KEY_PASSWORD: ${{ secrets.JB_PRIVATE_KEY_PASSWORD }} run: | set -e