From c5e097cfa44c4c05b6d0f4739b20011e792028d2 Mon Sep 17 00:00:00 2001 From: Faur Ioan-Aurel Date: Tue, 1 Apr 2025 22:30:59 +0300 Subject: [PATCH 1/5] chore: update changelog after release - update release date - release workflow failed because of an error related to zip artifact already being present --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0bb2520..8988ddb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,10 @@ ## Unreleased +## 0.1.0 - 2025-04-01 + ### Added - initial support for JetBrains Toolbox 2.6.0.38311 with the possibility to manage the workspaces - i.e. start, stop, update and delete actions and also quick shortcuts to templates, web terminal and dashboard. -- support for light & dark themes \ No newline at end of file +- support for light & dark themes From a9d9754adc52585b29b302e6fb2874e350705ab0 Mon Sep 17 00:00:00 2001 From: Faur Ioan-Aurel Date: Tue, 1 Apr 2025 22:32:55 +0300 Subject: [PATCH 2/5] chore: next version is 0.2.0 --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 77308ba..a4ec268 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ -version=0.1.0 +version=0.2.0 group=com.coder.toolbox name=coder-toolbox From a9cb596a3072629ebab8baf0b3583bfc630e33ca Mon Sep 17 00:00:00 2001 From: Faur Ioan-Aurel Date: Tue, 1 Apr 2025 22:44:27 +0300 Subject: [PATCH 3/5] build: overwrite existing assets of the same name - the zip file is already attached by the draft release. - with this option we can force to overwrite the artifact. --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b37cc2d..a508ff7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -68,7 +68,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | ./gradlew clean pluginZip --info - gh release upload ${{ github.event.release.tag_name }} ./build/distributions/* + gh release upload ${{ github.event.release.tag_name }} ./build/distributions/* --clobber # Create pull request - name: Create Pull Request From 2982cf969ddd41eebfde02bb09e3b78e23e22b6f Mon Sep 17 00:00:00 2001 From: Faur Ioan-Aurel Date: Tue, 1 Apr 2025 23:13:23 +0300 Subject: [PATCH 4/5] chore: enable the plugin publish step - next release should be able to run automatically - no need to do extra changelog content augmentation, we just need to update the release version date --- .github/workflows/release.yml | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a508ff7..d51c099 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,34 +27,14 @@ jobs: java-version: 21 cache: gradle - # Set environment variables - - name: Export Properties - id: properties - shell: bash - run: | - CHANGELOG="$(cat << 'EOM' | sed -e 's/^[[:space:]]*$//g' -e '/./,$!d' - ${{ github.event.release.body }} - EOM - )" - - CHANGELOG="${CHANGELOG//'%'/'%25'}" - CHANGELOG="${CHANGELOG//$'\n'/'%0A'}" - CHANGELOG="${CHANGELOG//$'\r'/'%0D'}" - - echo "changelog=$CHANGELOG" >> $GITHUB_OUTPUT # Update Unreleased section with the current release note - name: Patch Changelog - if: ${{ steps.properties.outputs.changelog != '' }} - env: - CHANGELOG: ${{ steps.properties.outputs.changelog }} run: | - ./gradlew patchChangelog --release-note="$CHANGELOG" + ./gradlew patchChangelog # Publish the plugin to the Marketplace - # TODO - enable this step (by removing the `if` block) when JetBrains is clear about release procedures - name: Publish Plugin - if: false env: PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }} CERTIFICATE_CHAIN: ${{ secrets.CERTIFICATE_CHAIN }} @@ -67,12 +47,10 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - ./gradlew clean pluginZip --info gh release upload ${{ github.event.release.tag_name }} ./build/distributions/* --clobber # Create pull request - name: Create Pull Request - if: ${{ steps.properties.outputs.changelog != '' }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | From d636161dff3977d9a2419175a73a984fe2938580 Mon Sep 17 00:00:00 2001 From: Faur Ioan-Aurel Date: Wed, 2 Apr 2025 16:41:51 +0300 Subject: [PATCH 5/5] fix: marketplace publish token is named differently --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d51c099..e10f2d6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,7 +36,7 @@ jobs: # Publish the plugin to the Marketplace - name: Publish Plugin env: - PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }} + JETBRAINS_MARKETPLACE_PUBLISH_TOKEN: ${{ secrets.JETBRAINS_MARKETPLACE_PUBLISH_TOKEN }} CERTIFICATE_CHAIN: ${{ secrets.CERTIFICATE_CHAIN }} PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} PRIVATE_KEY_PASSWORD: ${{ secrets.PRIVATE_KEY_PASSWORD }}