Skip to content

Commit 0edd37b

Browse files
authored
Merge pull request #49 from block/mehdi.fix-idea-plugin-release
Minor fixes to the publish workflow for idea plugin release
2 parents 0d4afe7 + 6092654 commit 0edd37b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/publish.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Extract release version
2222
id: release_version
2323
run: |
24-
VERSION=$(grep "^VERSION=" gradle.properties | cut -d'=' -f2 | xargs)
24+
VERSION=$(grep "^version=" gradle.properties | cut -d'=' -f2 | xargs)
2525
echo "version=$VERSION" >> $GITHUB_OUTPUT
2626
2727
- name: Validate tag matches release version
@@ -105,7 +105,6 @@ jobs:
105105
export IJ_PLUGIN_VERSION="${{ needs.release_version.outputs.version }}"
106106
echo "IJ_PLUGIN_VERSION=$IJ_PLUGIN_VERSION" >> $GITHUB_ENV
107107
108-
./gradlew idea-plugin:patchPluginXml
109108
./gradlew idea-plugin:publishPlugin
110109
env:
111-
JETBRAINS_TOKEN: ${{ secrets.JETBRAINS_PLUGIN_TOKEN }}
110+
JETBRAINS_TOKEN: ${{ secrets.JETBRAINS_MARKETPLACE_SQUARE_PLUGINS }}

0 commit comments

Comments
 (0)