Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github Actions to create release artifacts #205

Open
pesse opened this issue Jun 9, 2022 · 5 comments
Open

Github Actions to create release artifacts #205

pesse opened this issue Jun 9, 2022 · 5 comments
Assignees

Comments

@pesse
Copy link
Member

pesse commented Jun 9, 2022

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.

@jgebal
Copy link
Member

jgebal commented Jun 9, 2022

I'll be happy to look into that

@simasch
Copy link
Member

simasch commented Jun 9, 2022

@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.

@simasch simasch self-assigned this Jun 9, 2022
@simasch
Copy link
Member

simasch commented Jun 9, 2022

  1. Step: use GitHub Packages
  2. Step: use JReleaser to deploy to various platforms (GitHub Packages, sdkman etc)

@aalmiray
Copy link

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.

@simasch
Copy link
Member

simasch commented Jun 17, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants