Github Actions to create release artifacts
At the moment, there is no Github Actions workflow to create release artifacts.
What it should include:
- update utplsql-cli.version
- mvn package verify jar:jar appassembler:assemble
- make sure jar is copied to assembly/lib
- Creating .zip and .zip.md5 files of assembly
Any help really appreciated.
I'll be happy to look into that
@pesse and @jgebal Have you had a look at how I do that in https://github.com/utPLSQL/utPLSQL-maven-plugin
I even deploy to Maven Central.
- Step: use GitHub Packages
- Step: use JReleaser to deploy to various platforms (GitHub Packages, sdkman etc)
Hello! FWIW you can use Maven's appassembler and assembly plugins to create binary distributions. The 1st plugin creates the layout with a launchable script plus all dependencies while the second creates a zip file. Once you have a binary distribution releasing with JReleaser is pretty much straight forward, as shown at
https://jreleaser.org/guide/latest/quick-start/maven.html https://github.com/aalmiray/app/
Be aware that releasing to GitHub Packages still requires consumers to input their GitHub credentials for reading.
Thanks @aalmiray We already use these two plugins plus a checksum plugin to add the files to the release in Github. We will not use Github Packages.