Skip to content

Commit 9df1904

Browse files
meanmailclaude
andcommitted
CI: add stable channel publishing on GitHub release
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 01c10ec commit 9df1904

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches: [ main ]
66
pull_request:
7+
release:
8+
types: [ published ]
79

810
concurrency:
911
group: publish-plugin-${{ github.ref_name }}
@@ -64,3 +66,10 @@ jobs:
6466
env:
6567
JB_MARKETPLACE_TOKEN: ${{ secrets.JB_MARKETPLACE_TOKEN }}
6668
JB_MARKETPLACE_CHANNEL: dev
69+
70+
- name: Publish plugin to Marketplace (stable channel)
71+
if: github.event_name == 'release'
72+
run: ./gradlew publishPlugin -PenvironmentName=${{ matrix.environmentName }} -PpluginVersion=${{ env.VERSION }}
73+
env:
74+
JB_MARKETPLACE_TOKEN: ${{ secrets.JB_MARKETPLACE_TOKEN }}
75+
JB_MARKETPLACE_CHANNEL: stable

0 commit comments

Comments
 (0)