Skip to content

Commit 12ad73f

Browse files
committed
chore: add publishing plugin in CI
1 parent b978add commit 12ad73f

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
permissions:
1616
contents: write
17+
pull-requests: write
1718
steps:
1819

1920
# Check out current repository
@@ -54,6 +55,12 @@ jobs:
5455
run: |
5556
./gradlew patchChangelog --release-note="$CHANGELOG"
5657
58+
# Publish the plugin to the Marketplace
59+
- name: Publish Plugin
60+
env:
61+
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
62+
run: ./gradlew publishPlugin
63+
5764
# Upload artifact as a release asset
5865
- name: Upload Release Asset
5966
env:

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# nanoleaf-intellij-plugin Changelog
44

55
## [Unreleased]
6+
### Fixed
7+
- Add publishing plugin in CI
68

79
## [1.0.1]
810
### Fixed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
pluginGroup = com.github.tiste.nanoleafintellijplugin
55
pluginName = nanoleaf-intellij-plugin
66
# SemVer format -> https://semver.org
7-
pluginVersion = 1.0.1
7+
pluginVersion = 1.0.2
88

99
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
1010
# for insight into build numbers and IntelliJ Platform versions.

0 commit comments

Comments
 (0)