Skip to content

Commit

Permalink
JetBrains Plugins for 2.0.0+ gradle plugin release. (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisCarini authored Aug 20, 2024
1 parent 209fe12 commit 4230e58
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
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 4230e58

Please sign in to comment.