forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Add JReleaser configuration & templates (quarkusio#899)
* [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>
- Loading branch information
1 parent
c470cfa
commit 31b2800
Showing
18 changed files
with
202 additions
and
338 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
project: | ||
name: jbang | ||
description: Unleash the power of Java | ||
longDescription: | | ||
Unleash the power of Java. | ||
Use `jbang` to run java, jar, jsh or kt file(s) with automatic dependency fetching | ||
and immediate compilation and execution. | ||
website: https://jbang.dev | ||
docsUrl: https://jbang.dev/documentation | ||
authors: | ||
- Max Rydahl Andersen | ||
license: MIT | ||
tags: | ||
- jbang | ||
- bash | ||
- java | ||
- shell | ||
- scripting | ||
java: | ||
groupId: dev.jbang | ||
version: 8 | ||
extraProperties: | ||
inceptionYear: 2020 | ||
|
||
release: | ||
github: | ||
overwrite: true | ||
draft: true | ||
sign: true | ||
releaseName: '{{tagName}}' | ||
milestone: | ||
close: false | ||
changelog: | ||
formatted: always | ||
change: '- {{commitShortHash}} {{commitTitle}}' | ||
labelers: | ||
- label: 'fix' | ||
title: 'fix:' | ||
- label: 'feature' | ||
title: 'feat:' | ||
- label: 'task' | ||
title: 'chore:' | ||
- label: 'dependencies' | ||
title: 'chore(deps):' | ||
- label: 'test' | ||
title: 'test:' | ||
- label: 'docs' | ||
title: 'docs:' | ||
- label: 'docs' | ||
title: 'doc:' | ||
categories: | ||
- title: '🚀 Features' | ||
labels: | ||
- 'feature' | ||
- title: '🐛 Fixes' | ||
labels: | ||
- 'fix' | ||
- title: '🧰 Tasks' | ||
labels: | ||
- 'task' | ||
- title: '✅ Tests' | ||
labels: | ||
- 'test' | ||
- title: '📝 Documentation' | ||
labels: | ||
- 'docs' | ||
- title: '⚙️ Dependencies' | ||
labels: | ||
- 'dependencies' | ||
replacers: | ||
- search: 'fix: ' | ||
- search: 'feat: ' | ||
- search: 'chore: ' | ||
- search: 'chore\(deps\): ' | ||
- search: 'test: ' | ||
- search: 'docs: ' | ||
- search: 'doc: ' | ||
|
||
checksum: | ||
individual: true | ||
|
||
signing: | ||
active: always | ||
armored: true | ||
|
||
announce: | ||
twitter: | ||
active: release | ||
sdkman: | ||
active: release | ||
|
||
files: | ||
artifacts: | ||
- path: build/tmp/version.txt | ||
- path: build/distributions/jbang.zip | ||
- path: build/distributions/jbang.tar | ||
|
||
distributions: | ||
jbang: | ||
brew: | ||
active: release | ||
extraProperties: | ||
skipJava: true | ||
scoop: | ||
active: release | ||
bucket: | ||
name: 'scoop-bucket' | ||
chocolatey: | ||
active: release | ||
remoteBuild: true | ||
snap: | ||
active: release | ||
remoteBuild: true | ||
base: core18 | ||
confinement: classic | ||
artifacts: | ||
- path: build/distributions/jbang-{{projectVersion}}.zip | ||
- path: build/distributions/jbang-{{projectVersion}}.tar |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Homebrew Formulae | ||
|
||
## How do I install these formulae? | ||
`brew install {{repoOwner}}/tap/{{distributionName}}` | ||
|
||
Or `brew tap {{repoOwner}}/{{distributionName}}` and then `brew install {{distributionName}}`. | ||
|
||
Or install via URL (which will not receive updates): | ||
|
||
``` | ||
brew install https://raw.githubusercontent.com/{{repoOwner}}/homebrew-tap/master/Formula/{{distributionName}}.rb | ||
``` | ||
|
||
## Documentation | ||
`brew help`, `man brew` or check [Homebrew's documentation](https://docs.brew.sh). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
class {{brewFormulaName}} < Formula | ||
desc "{{projectDescription}}" | ||
homepage "{{projectWebsite}}" | ||
version "{{projectVersion}}" | ||
url "{{distributionUrl}}" | ||
sha256 "{{distributionSha256}}" | ||
license "{{projectLicense}}" | ||
|
||
bottle :unneeded | ||
|
||
{{#brewDependencies}} | ||
depends_on {{.}} | ||
{{/brewDependencies}} | ||
|
||
def install | ||
libexec.install Dir["*"] | ||
inreplace "#{libexec}/bin/{{distributionExecutable}}", /^abs_jbang_dir=.*/, "abs_jbang_dir=#{libexec}/bin/jbang.jar" | ||
bin.install_symlink "#{libexec}/bin/{{distributionExecutable}}" | ||
end | ||
|
||
test do | ||
system "#{bin}/{{distributionExecutable}}", "--init=cli", "hello.java" | ||
system "#{bin}/{{distributionExecutable}}", "hello.java", "Homebrew!" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.snap |
Oops, something went wrong.