Skip to content

Commit 6e5b4fa

Browse files
authored
Merge pull request #53 from kagof/release/1.6.0
Release/1.6.0
2 parents 303976e + 38b6746 commit 6e5b4fa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+289
-107
lines changed

.github/workflows/deploy.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ jobs:
1818
java-version: 1.8
1919
- name: Grant execute permission for gradlew
2020
run: chmod +x gradlew
21+
- name: Set the plugin version env var
22+
run: echo "PLUGIN_VERSION=$(./gradlew properties --no-daemon --console=plain -q | grep "^version:" | awk '{printf $2}')" >> $GITHUB_ENV
23+
- name: Set the change notes env var
24+
run: echo "CHANGE_NOTES=$(sed -n "/<\!\-\-${{ env.PLUGIN_VERSION }}-->/,/<\!\-\-\/${{ env.PLUGIN_VERSION }}-->/p" changenotes.html | tr -d '\n')" >> $GITHUB_ENV
2125
- name: Build & deploy with Gradle
2226
env:
2327
PLUGIN_DEPLOYMENT_CHANNEL: ${{ github.event.inputs.channel }}
@@ -32,7 +36,14 @@ jobs:
3236
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
3337
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
3438
aws-region: us-east-1
35-
3639
- name: Copy plugin version to s3 bucket
3740
run: |
3841
aws s3 cp ./build/distributions s3://${{ secrets.S3_BUCKET_NAME }}/dist --recursive
42+
- name: Create Release
43+
uses: ncipollo/release-action@v1.8.6
44+
with:
45+
artifacts: "./build/distributions/*.zip"
46+
tag: "${{ env.PLUGIN_VERSION }}"
47+
body: "${{ env.CHANGE_NOTES }}"
48+
commit: ${{ env.GITHUB_SHA }}
49+
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/verify.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ jobs:
3232

3333
- name: Verify against IntelliJ builds
3434
id: verify
35-
uses: ChrisCarini/intellij-platform-plugin-verifier-action@v1.0.4
35+
uses: ChrisCarini/intellij-platform-plugin-verifier-action@v1.0.7
3636
with:
3737
ide-versions: |
3838
ideaIC:2019.3.5
39-
ideaIU:2019.3.5
4039
ideaIC:2020.3
40+
ideaIC:2021.2
4141
ideaIC:LATEST-EAP-SNAPSHOT
4242
4343
- name: Sync master branch verification results to gist

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,5 @@ Preferably you should be using [signed commits](https://help.github.com/en/artic
7171
* if adding a new Pokémon:
7272
* please maintain numerical ordering in the [Readme](README.md), [plugin.xml](src/main/resources/META-INF/plugin.xml), and [Pokemon.java](src/main/java/com/kagof/intellij/plugins/pokeprogress/Pokemon.java)
7373
* [editSprite.sh](editSprite.sh) can be used to generate the required gifs from existing png images
74-
* [DocumentGenerator.java](src/test/java/com/kagof/intellij/plugins/pokeprogress/DocumentationGenerator.java) can be used to generate the new lines in [`description.html`](./description.html) and [`README.md`](README.md)
74+
* [DocumentGenerator.java](src/test/java/com/kagof/intellij/plugins/pokeprogress/DocumentationGenerator.java) can be used to generate the new lines in [`README.md`](README.md), and update the [family photo](eg/family.gif) used in both the README and [`description.html`](./description.html). Simply run the `updateReadme()` and `updateFamilyPicture()` tests to do so.
7575
* [TestProgressBar.java](src/test/java/com/kagof/intellij/plugins/pokeprogress/TestProgressBar.java)) is very useful when tweaking sprite positioning & sizing (Thanks to @Paola351 for the initial implementation of this!)

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
![](eg/example.gif)
99

10+
![All](eg/family.gif)
11+
1012
This is [a plugin](https://plugins.jetbrains.com/plugin/15090-pokemon-progress/versions) for [JetBrains IntelliJ IDEA](https://www.jetbrains.com/idea/) (And other compatible IDEs), which replaces your progress bars with a (random) Pokémon. The color of the progress bar fill is based on that Pokémon's type(s).
1113

1214
## Included Pokémon
@@ -24,7 +26,11 @@ This is [a plugin](https://plugins.jetbrains.com/plugin/15090-pokemon-progress/v
2426
* ![Nidoqueen (#031)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/nidoqueen.gif) Nidoqueen (#031) ![Nidoqueen (#031)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/nidoqueen_r.gif)
2527
* ![Nidoking (#034)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/nidoking.gif) Nidoking (#034) ![Nidoking (#034)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/nidoking_r.gif)
2628
* ![Jigglypuff (#039)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/jigglypuff.gif) Jigglypuff (#039) ![Jigglypuff (#039)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/jigglypuff_r.gif)
29+
* ![Diglett (#050)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/diglett.gif) Diglett (#050) ![Diglett (#050)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/diglett_r.gif)
30+
* ![Dugtrio (#051)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/dugtrio.gif) Dugtrio (#051) ![Dugtrio (#051)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/dugtrio_r.gif)
2731
* ![Meowth (#052)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/meowth.gif) Meowth (#052) ![Meowth (#052)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/meowth_r.gif)
32+
* ![Psyduck (#054)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/psyduck.gif) Psyduck (#054) ![Psyduck (#054)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/psyduck_r.gif)
33+
* ![Golduck (#055)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/golduck.gif) Golduck (#055) ![Golduck (#055)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/golduck_r.gif)
2834
* ![Alakazam (#065)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/alakazam.gif) Alakazam (#065) ![Alakazam (#065)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/alakazam_r.gif)
2935
* ![Machamp (#068)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/machamp.gif) Machamp (#068) ![Machamp (#068)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/machamp_r.gif)
3036
* ![Slowpoke (#079)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/slowpoke.gif) Slowpoke (#079) ![Slowpoke (#079)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/slowpoke_r.gif)
@@ -74,6 +80,8 @@ This is [a plugin](https://plugins.jetbrains.com/plugin/15090-pokemon-progress/v
7480
* ![Swampert (#260)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/swampert.gif) Swampert (#260) ![Swampert (#260)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/swampert_r.gif)
7581
* ![Wailmer (#320)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/wailmer.gif) Wailmer (#320) ![Wailmer (#320)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/wailmer_r.gif)
7682
* ![Wailord (#321)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/wailord.gif) Wailord (#321) ![Wailord (#321)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/wailord_r.gif)
83+
* ![Latias (#380)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/latias.gif) Latias (#380) ![Latias (#380)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/latias_r.gif)
84+
* ![Latios (#381)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/latios.gif) Latios (#381) ![Latios (#381)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/latios_r.gif)
7785
* ![Kyogre (#382)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/kyogre.gif) Kyogre (#382) ![Kyogre (#382)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/kyogre_r.gif)
7886
* ![Groudon (#383)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/groudon.gif) Groudon (#383) ![Groudon (#383)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/groudon_r.gif)
7987
* ![Rayquaza (#384)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/rayquaza.gif) Rayquaza (#384) ![Rayquaza (#384)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/rayquaza_r.gif)
@@ -132,6 +140,8 @@ This is [a plugin](https://plugins.jetbrains.com/plugin/15090-pokemon-progress/v
132140
* ![Zacian (#888)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/zacian.gif) Zacian (#888) ![Zacian (#888)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/zacian_r.gif)
133141
* ![Zamazenta (#889)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/zamazenta.gif) Zamazenta (#889) ![Zamazenta (#889)](src/main/resources/com/kagof/intellij/plugins/pokeprogress/sprites/zamazenta_r.gif)
134142

143+
[comment]: <> (end-included-pokemon)
144+
135145
## Contributing
136146

137147
Contributions are very welcome on this project! Please see our [contributing guidelines](CONTRIBUTING.md) and [code of conduct](CODE_OF_CONDUCT.md) to get started.
@@ -166,8 +176,9 @@ Contributions are very welcome on this project! Please see our [contributing gui
166176

167177
### Misc
168178

169-
* Gif editing done with [ImageMagick](https://imagemagick.org/script/index.php) (using [this](./editSprite.sh) script)
179+
* Sprite Gif editing done with [ImageMagick](https://imagemagick.org/script/index.php) (using [this](./editSprite.sh) script)
170180
* Types, names, numbers, & info mainly gathered from [Bulbapedia](https://bulbapedia.bulbagarden.net)
171181
* Type colours taken from [Bulbapedia's Type color templates](https://bulbapedia.bulbagarden.net/wiki/Category:Type_color_templates)
172182
* The idea for this plugin came from [KikiManjaro's Pokemon Trainer Progress Bar](https://plugins.jetbrains.com/plugin/14609-pokemon-trainer-progress-bar)
173-
* The Pokémon Company, for creating Pokémon
183+
* Family photo generated using [Scrimage](https://github.com/sksamuel/scrimage) for GIF reading & writing
184+
* The Pokémon Company, for creating Pokémon

build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,20 @@ plugins {
44
}
55

66
group = "com.kagof"
7-
version = "1.5.0"
7+
version = "1.6.0"
88

99
repositories {
1010
mavenCentral()
1111
}
1212

1313
dependencies {
1414
testImplementation("junit", "junit", "4.12")
15+
testImplementation("com.sksamuel.scrimage", "scrimage-core", "4.0.22")
1516
}
1617

1718
// See https://github.com/JetBrains/gradle-intellij-plugin/
1819
intellij {
19-
version = "2019.3"
20+
version = "2020.1"
2021
}
2122

2223
tasks.getByName<org.jetbrains.intellij.tasks.PublishTask>("publishPlugin") {

changenotes.html

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,40 @@
11
<ul>
2+
<li><b><a href="https://github.com/kagof/intellij-pokemon-progress/releases/tag/1.6.0">1.6.0</a></b>
3+
<!--1.6.0-->
4+
<ul>
5+
<li>Removes deprecated API usage</li>
6+
<li>Updates IntelliJ minimum version to 2020.1, to aid with dynamic loading</li>
7+
<li>Generates a single gif for the plugin description</li>
8+
<li>new Gen I: Diglett, Dugtrio, Psyduck, Golduck</li>
9+
<li>new Gen III: Latias, Latios</li>
10+
</ul>
11+
<!--/1.6.0-->
12+
</li>
213
<li><b><a href="https://github.com/kagof/intellij-pokemon-progress/releases/tag/1.5.0">1.5.0</a></b>
14+
<!--1.5.0-->
315
<ul>
416
<li>Fixes resource loading to work with IntelliJ 2021.1</li>
517
<li>Adds configurable transparent tails (on by default for indeterminate)</li>
618
<li>adds preview panel to the configuration menu</li>
719
</ul>
20+
<!--/1.5.0-->
821
</li>
922
<li><b><a href="https://github.com/kagof/intellij-pokemon-progress/releases/tag/1.4.2">1.4.2</a></b>
23+
<!--1.4.2-->
1024
<ul>
1125
<li>Yet another fix for configuration state persistence</li>
1226
</ul>
27+
<!--/1.4.2-->
1328
</li>
1429
<li><b><a href="https://github.com/kagof/intellij-pokemon-progress/releases/tag/1.4.1">1.4.1</a></b>
30+
<!--1.4.1-->
1531
<ul>
1632
<li>Fixes issue with config state deserialization (thanks @TheFreezingChicken for the bug report)</li>
1733
</ul>
34+
<!--/1.4.1-->
1835
</li>
1936
<li><b><a href="https://github.com/kagof/intellij-pokemon-progress/releases/tag/1.4.0">1.4.0</a></b>
37+
<!--1.4.0-->
2038
Happy new year! Starter Pokémon from all 8 generations are now in the plugin.
2139
<ul>
2240
<li>slows the acceleration of the indeterminate progress bar, and makes it configurable</li>
@@ -25,13 +43,17 @@
2543
<li>new Gen VI: Chespin, Chesnaught, Fennekin, Delphox, Froakie, Greninja</li>
2644
<li>new Gen VII: Rowlet, Decidueye, Litten, Incineroar, Popplio, Primarina</li>
2745
</ul>
46+
<!--/1.4.0-->
2847
</li>
2948
<li><b><a href="https://github.com/kagof/intellij-pokemon-progress/releases/tag/1.3.1">1.3.1</a></b>
49+
<!--1.3.1-->
3050
<ul>
3151
<li>reverts Java version to 8 so plugin works with Android Studio</li>
3252
</ul>
53+
<!--/1.3.1-->
3354
</li>
3455
<li><b><a href="https://github.com/kagof/intellij-pokemon-progress/releases/tag/1.3.0">1.3.0</a></b>
56+
<!--1.3.0-->
3557
<ul>
3658
<li>new Gen II: Raikou, Entei, Suicune, Lugia, Ho-Oh, Celebi (thanks @marcodenisi)</li>
3759
<li>new Gen III: Kyogre, Groudon, Rayquaza, Jirachi, Deoxys (thanks @Paola351)</li>
@@ -41,20 +63,26 @@
4163
<li>stores an instance of the icons on the PokemonProgressBarUi, for (hopefully) better performance</li>
4264
<li>plugin logo rasterized to look better</li>
4365
</ul>
66+
<!--/1.3.0-->
4467
</li>
4568
<li><b><a href="https://github.com/kagof/intellij-pokemon-progress/releases/tag/1.2.2">1.2.2</a></b>
69+
<!--1.2.2-->
4670
<ul>
4771
<li>Fixes since-build and until-build to indicate compatibility with IntelliJ &ge; 2019.3. This should mean
4872
updates are not necessary for major versions of IntelliJ unless there actually are breaking changes.
4973
</li>
5074
</ul>
75+
<!--/1.2.2-->
5176
</li>
5277
<li><b><a href="https://github.com/kagof/intellij-pokemon-progress/releases/tag/1.2.1">1.2.1</a></b>
78+
<!--1.2.1-->
5379
<ul>
5480
<li>Updates plugin to work with IntelliJ 2020.3</li>
5581
</ul>
82+
<!--/1.2.1-->
5683
</li>
5784
<li><b><a href="https://github.com/kagof/intellij-pokemon-progress/releases/tag/1.2.0">1.2.0</a></b>
85+
<!--1.2.0-->
5886
<ul>
5987
<li>New Gen I: Nidoqueen, Nidoking, Jigglypuff, Alakazam, Machamp, Magnemite, Scyther, Dragonite</li>
6088
<li>New Gen II: Chikorita, Meganium, Cyndaquil, Typhlosion, Totodile, Feraligatr</li>
@@ -65,8 +93,10 @@
6593
<li>Fixes Mew sprite on Retina screens</li>
6694
<li>Fixes colour gradients</li>
6795
</ul>
96+
<!--/1.2.0-->
6897
</li>
6998
<li><b><a href="https://github.com/kagof/intellij-pokemon-progress/releases/tag/1.1.0">1.1.0</a></b>
99+
<!--1.1.0-->
70100
<ul>
71101
<li>New Gen I: Butterfree, Meowth, Slowpoke, Gengar, Koffing, Gyarados, Snorlax, Articuno, Zapdos, Moltres,
72102
Mewtwo, Mew
@@ -78,23 +108,30 @@
78108
<li>Lazy loads Pokémon icons</li>
79109
<li>Plugin is now dynamically reloadable (uses Listeners instead of Component)</li>
80110
</ul>
111+
<!--/1.1.0-->
81112
</li>
82113
<li><b><a href="https://github.com/kagof/intellij-pokemon-progress/releases/tag/1.0.2">1.0.2</a></b>
114+
<!--1.0.2-->
83115
<ul>
84116
<li>fixes icon compatibility with Retina screens</li>
85117
</ul>
118+
<!--/1.0.2-->
86119
</li>
87120
<li><b><a href="https://github.com/kagof/intellij-pokemon-progress/releases/tag/1.0.1">1.0.1</a></b>
121+
<!--1.0.1-->
88122
<ul>
89123
<li>backwards compatibility with IntelliJ 2019.3.5</li>
90124
<li>fixes display issue when progress bar goes from indeterminate to determinate</li>
91125
</ul>
126+
<!--/1.0.1-->
92127
</li>
93128
<li><b><a href="https://github.com/kagof/intellij-pokemon-progress/releases/tag/1.0.0">1.0.0</a></b>
129+
<!--1.0.0-->
94130
<ul>
95131
<li>Initial release</li>
96132
<li>New Gen I: Bulbasaur, Venusaur, Charmander, Charizard, Squirtle, Blastoise, Pikachu, Eevee</li>
97133
<li>New Gen VII: Mimikyu</li>
98134
</ul>
135+
<!--/1.0.0-->
99136
</li>
100137
</ul>

0 commit comments

Comments
 (0)