Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
## Summary
<!-- Brief description of what this PR does and why -->

## Changes Made
<!-- List the key changes -->

Expand Down
26 changes: 20 additions & 6 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ permissions:
contents: write

jobs:
build:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Setup JDK
uses: actions/setup-java@v4
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: ${{ env.JAVA_VERSION }}
Expand All @@ -38,17 +38,31 @@ jobs:
- name: Verify plugin
run: ./gradlew verifyPlugin

release:
if: startsWith(github.ref, 'refs/tags/')
needs: verify
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6

- name: Setup JDK
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: ${{ env.JAVA_VERSION }}

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Build plugin
run: ./gradlew buildPlugin

- name: Get artifact filename
if: startsWith(github.ref, 'refs/tags/')
id: artifact
run: echo "file=$(ls build/distributions/*.zip)" >> "$GITHUB_OUTPUT"

- name: Create Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
with:
files: ${{ steps.artifact.outputs.file }}
generate_release_notes: true
generate_release_notes: true
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v1.0.2
- Fixed documentation and build script


## v1.0.1
- Fixed documentation and build script

Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set -euo pipefail
# ============================================================================
# Variables
# ============================================================================
PLUGIN_VERSION="1.0.1"
PLUGIN_VERSION="1.0.2"
GRADLE_VERSION="9.4.0"
KOTLIN_VERSION="2.1.0"
INTELLIJ_PLATFORM_VERSION="2.12.0"
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pluginName = Traffic Light Buttons
pluginVersion = 1.0.1
pluginVersion = 1.0.2
pluginSinceBuild = 253
platformVersion = 2025.3.3
pluginGroup = com.ddc.trafficlightbuttons
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<li>Configurable button placement (left or right)</li>
<li>Windows support planned</li>
</ul>
<br/><br/>
<br/>
<b>Settings</b><br/>
Settings &gt; Appearance &amp; Behavior &gt; Traffic Light Buttons
]]></description>
Expand Down
Loading