Skip to content

Commit

Permalink
JetBrains Plugins for 2.0.0+ gradle plugin release. (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisCarini authored Aug 20, 2024
1 parent baca7bb commit 336490f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ jobs:
with:
# Generated from the `generateIdeVersionsList` task above.
ide-versions: build/intellij-platform-plugin-verifier-action-ide-versions-file.txt
# TODO(ChrisCarini) - This can be removed once https://youtrack.jetbrains.com/issue/MP-6711 is resolved.
# See below for details:
# - https://jetbrains-platform.slack.com/archives/C012S7PA8CQ/p1722334099316129?thread_ts=1719921236.855369&cid=C012S7PA8CQ
# - https://youtrack.jetbrains.com/issue/MP-6711/Plugin-Verifier-Muted-plugin-problems-show-up-in-the-standard-output-as-structure-warnings#focus=Comments-27-10232348.0-0
failure-levels: |
PLUGIN_STRUCTURE_WARNINGS
- name: Get log file path and print contents
run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
- name: Publish Plugin
env:
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
CERTIFICATE_CHAIN: ${{ secrets.CERTIFICATE_CHAIN }}
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
PRIVATE_KEY_PASSWORD: ${{ secrets.PRIVATE_KEY_PASSWORD }}
run: ./gradlew publishPlugin

# Upload artifact as a release asset
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,8 @@ changelog {
tasks {
publishPlugin {
dependsOn(patchChangelog)
enabled = shouldPublishPlugin && providers.provider { pluginRepositoryUrl }.getOrElse("false") == "true"
logger.lifecycle("Should Publish Plugin?: $shouldPublishPlugin")
enabled = shouldPublishPlugin
}

printProductsReleases {
Expand Down

0 comments on commit 336490f

Please sign in to comment.