Skip to content

Commit

Permalink
feat: add support to 2022.3 JetBrains IDEs (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
rgomezcasas authored Sep 26, 2022
1 parent 945b996 commit 41986f4
Show file tree
Hide file tree
Showing 8 changed files with 201 additions and 116 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
- uses: actions/setup-java@v3
with:
java-version: 1.8
java-version: 17
distribution: adopt
- uses: actions/cache@v2
with:
path: |
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Release
on:
release:
types: [ published ]

env:
APP_VERSION: ${{ github.event.release.tag_name }}
JETBRAINS_TOKEN: ${{ secrets.JETBRAINS_TOKEN }}

jobs:
publish:
name: Publish to JetBrains Marketplace
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: 17
distribution: adopt
- name: Publish to JetBrains marketplace
run: ./gradlew publishPlugin
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
1. Run the command `make` in the root of the project
2. You'll have the theme located in `./build/distributions`

## 🚀 Release
To release a new version of the theme, simple [create a new GitHub release](https://github.com/CodelyTV/jetbrains-theme/releases/new)

## 🌅 Screenshots

Screenshots can be found [here](docs/screenshots.md)
9 changes: 6 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

group 'tv.codely'
version '2.2.0'
version = System.getenv("APP_VERSION")

sourceCompatibility = 1.8

Expand All @@ -23,15 +23,18 @@ intellij {
version '201.6668.113'
updateSinceUntilBuild false
}

publishPlugin {
setToken(System.getenv("JETBRAINS_TOKEN"))
}
// See http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/build_number_ranges.html
patchPluginXml {
sinceBuild '201'
untilBuild '222.*'
untilBuild '223.*'
version project.version

changeNotes """
<ul>
<li>2.2.1 Add support to 2022.3 IDEs</li>
<li>2.2.0 Add support to the experimental new ui</li>
<li>2.1.6 Add support to 2022.2 IDEs</li>
<li>2.1.5 Add support to 2022.1 IDEs</li>
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit 41986f4

Please sign in to comment.