Skip to content

Github Actions to create release artifacts #205

Open

Description

@pesse

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.

Activity

  1. jgebal commented on Jun 9, 2022

    @jgebal
    Member

    I'll be happy to look into that

  2. simasch commented on Jun 9, 2022

    @simasch
    Member

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

  3. self-assigned this
    on Jun 9, 2022
  4. simasch commented on Jun 9, 2022

    @simasch
    Member
    1. Step: use GitHub Packages
    2. Step: use JReleaser to deploy to various platforms (GitHub Packages, sdkman etc)
  5. aalmiray commented on Jun 17, 2022

    @aalmiray

    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.

  6. simasch commented on Jun 17, 2022

    @simasch
    Member

    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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions