Skip to content

chore: Add JReleaser configuration & templates#899

Merged
maxandersen merged 7 commits into
jbangdev:mainfrom
aalmiray:jreleaser
Jul 15, 2021
Merged

chore: Add JReleaser configuration & templates#899
maxandersen merged 7 commits into
jbangdev:mainfrom
aalmiray:jreleaser

Conversation

@aalmiray

Copy link
Copy Markdown
Contributor

Initial JReleaser configuration.

@aalmiray aalmiray marked this pull request as draft May 29, 2021 10:49
@aalmiray

Copy link
Copy Markdown
Contributor Author

Don't forget to define environment variables.

JRELEASER_PROJECT_VERSION
JRELEASER_GITHUB_TOKEN

@aalmiray aalmiray changed the title chore: Add JReleaser configuraiton & templates chore: Add JReleaser configuration & templates May 29, 2021
@aalmiray

Copy link
Copy Markdown
Contributor Author

Requires jreleaser/jreleaser@bbf8076 or later as that enables:

  • copyright field on project
  • custom output directory when running on CLI
  • updates to chocolatey templates
  • dryrun = true skips validation of secrets

@maxandersen

Copy link
Copy Markdown
Collaborator

things missing so i dont have to re-remember this everytime :

  • can't seem to customize sdkman message with proper url
  • can't grok what chocolatey packager actually do; docs say need to use CI - which ci?
  • snap doesn't seem to work with build happening outside snap ci ?

@aalmiray

Copy link
Copy Markdown
Contributor Author
  • custom sdkman url: it's taken directly from the releaser's "release notes" url. Is not customizable at the moment.
  • chocolatey CI: the idea is to follow the same setup JBang has at the moment, however the JReleaser templates do not provide starting files at the moment.
  • local snap build: it used to work a couple of releases ago, perhaps I broke it.

@maxandersen maxandersen marked this pull request as ready for review July 15, 2021 20:39
@maxandersen maxandersen merged commit 546df3b into jbangdev:main Jul 15, 2021
maxandersen added a commit that referenced this pull request Jul 15, 2021
* [minor] various fixes

* chore: Add JReleaser configuraiton & templates

* chore: exclude JReleaser output from spotless checks

* chore: refine JReleaser configuration

* build: first set of removals in build/workflow for when jreleaser runs

* use right doc url

* fix: magic jreleaser fixes

Co-authored-by: Max Rydahl Andersen <manderse@redhat.com>
Co-authored-by: Max Rydahl Andersen <gitkraken@xam.dk>
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

Successfully merging this pull request may close these issues.

2 participants