Skip to content

Commit ddfffe1

Browse files
authored
Update after manual release (#58)
- manual update the changelog (release pipeline failed because it needs some adjustments around artifact upload) - increase version to 0.2.0 - update release workflow to force upload of the release artifact. Draft release already creates and attaches the artifact but we want to upload the exact same thing as what was published to the jetbrains marketplace.
1 parent 4ca9190 commit ddfffe1

File tree

3 files changed

+7
-27
lines changed

3 files changed

+7
-27
lines changed

.github/workflows/release.yml

+3-25
Original file line numberDiff line numberDiff line change
@@ -27,36 +27,16 @@ jobs:
2727
java-version: 21
2828
cache: gradle
2929

30-
# Set environment variables
31-
- name: Export Properties
32-
id: properties
33-
shell: bash
34-
run: |
35-
CHANGELOG="$(cat << 'EOM' | sed -e 's/^[[:space:]]*$//g' -e '/./,$!d'
36-
${{ github.event.release.body }}
37-
EOM
38-
)"
39-
40-
CHANGELOG="${CHANGELOG//'%'/'%25'}"
41-
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
42-
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
43-
44-
echo "changelog=$CHANGELOG" >> $GITHUB_OUTPUT
4530

4631
# Update Unreleased section with the current release note
4732
- name: Patch Changelog
48-
if: ${{ steps.properties.outputs.changelog != '' }}
49-
env:
50-
CHANGELOG: ${{ steps.properties.outputs.changelog }}
5133
run: |
52-
./gradlew patchChangelog --release-note="$CHANGELOG"
34+
./gradlew patchChangelog
5335
5436
# Publish the plugin to the Marketplace
55-
# TODO - enable this step (by removing the `if` block) when JetBrains is clear about release procedures
5637
- name: Publish Plugin
57-
if: false
5838
env:
59-
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
39+
JETBRAINS_MARKETPLACE_PUBLISH_TOKEN: ${{ secrets.JETBRAINS_MARKETPLACE_PUBLISH_TOKEN }}
6040
CERTIFICATE_CHAIN: ${{ secrets.CERTIFICATE_CHAIN }}
6141
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
6242
PRIVATE_KEY_PASSWORD: ${{ secrets.PRIVATE_KEY_PASSWORD }}
@@ -67,12 +47,10 @@ jobs:
6747
env:
6848
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6949
run: |
70-
./gradlew clean pluginZip --info
71-
gh release upload ${{ github.event.release.tag_name }} ./build/distributions/*
50+
gh release upload ${{ github.event.release.tag_name }} ./build/distributions/* --clobber
7251
7352
# Create pull request
7453
- name: Create Pull Request
75-
if: ${{ steps.properties.outputs.changelog != '' }}
7654
env:
7755
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7856
run: |

CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22

33
## Unreleased
44

5+
## 0.1.0 - 2025-04-01
6+
57
### Added
68

79
- initial support for JetBrains Toolbox 2.6.0.38311 with the possibility to manage the workspaces - i.e. start, stop,
810
update and delete actions and also quick shortcuts to templates, web terminal and dashboard.
9-
- support for light & dark themes
11+
- support for light & dark themes

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
version=0.1.0
1+
version=0.2.0
22
group=com.coder.toolbox
33
name=coder-toolbox

0 commit comments

Comments
 (0)