pdx_unlimiter icon indicating copy to clipboard operation
pdx_unlimiter copied to clipboard

Release configuration

Open aalmiray opened this issue 2 years ago • 3 comments

At first glance I would have expected the following configuration to throw an exception

https://github.com/crschnick/pdx_unlimiter/blob/e52fb88ae0a18af6868724387145b617d993b1bb/gradle/jreleaser.gradle#L74-L79

The distributionType property is owned by the distribution (named app) and not by the artifact DSL element.

aalmiray avatar Apr 24 '23 18:04 aalmiray

I guess it works fine because no task depends the distribution type property as I only use the GitHub release. The jreleaser configuration here is very old and bad as I had no idea what I was doing back when I first created it. It should probably be updated sometime.

crschnick avatar Apr 24 '23 18:04 crschnick

OK. Moreover, I suppose releases are done offline. Here's a way to run releases on GitHub targeting multiple platforms

https://github.com/kordamp/ikonli/blob/master/jreleaser.yml https://github.com/kordamp/ikonli/blob/master/.github/workflows/release.yml

The project is a JavaFX application that also relies on beryx's plugins to build the jlink runtimes and native installers via jpackage.

aalmiray avatar Apr 24 '23 18:04 aalmiray

They are done on CI by running each OS separately and updating the body of the release. I already use your linked workflow approach in xpipe, it's just that I didn't also implement it here. This is mostly because the current approach also works even though it's a little bit ugly. I will probably do a complete rewrite of the jreleaser configuration someday.

crschnick avatar Apr 24 '23 18:04 crschnick